Nothing
# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include bedrockagentcorecontrol_service.R
NULL
#' Adds examples to the dataset's DRAFT
#'
#' @description
#' Adds examples to the dataset's DRAFT.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_add_dataset_examples/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_add_dataset_examples/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset to add examples to.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param source [required] Source of examples to add. Provide either inline examples or an S3 URI pointing to a JSONL file.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_add_dataset_examples
bedrockagentcorecontrol_add_dataset_examples <- function(datasetId, clientToken = NULL, source) {
op <- new_operation(
name = "AddDatasetExamples",
http_method = "POST",
http_path = "/datasets/{datasetId}/examples/add",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$add_dataset_examples_input(datasetId = datasetId, clientToken = clientToken, source = source)
output <- .bedrockagentcorecontrol$add_dataset_examples_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$add_dataset_examples <- bedrockagentcorecontrol_add_dataset_examples
#' Creates an Amazon Bedrock AgentCore Runtime
#'
#' @description
#' Creates an Amazon Bedrock AgentCore Runtime.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_agent_runtime/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_agent_runtime/) for full documentation.
#'
#' @param agentRuntimeName [required] The name of the AgentCore Runtime.
#' @param agentRuntimeArtifact [required] The artifact of the AgentCore Runtime.
#' @param roleArn [required] The IAM role ARN that provides permissions for the AgentCore Runtime.
#' @param networkConfiguration [required] The network configuration for the AgentCore Runtime.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param description The description of the AgentCore Runtime.
#' @param authorizerConfiguration The authorizer configuration for the AgentCore Runtime.
#' @param requestHeaderConfiguration Configuration for HTTP request headers that will be passed through to the runtime.
#' @param protocolConfiguration The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.
#' @param lifecycleConfiguration The life cycle configuration for the AgentCore Runtime.
#' @param environmentVariables Environment variables to set in the AgentCore Runtime environment.
#' @param filesystemConfigurations The filesystem configurations to mount into the AgentCore Runtime. Use filesystem configurations to provide persistent storage to your AgentCore Runtime sessions.
#' @param tags A map of tag keys and values to assign to the agent runtime. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_agent_runtime
bedrockagentcorecontrol_create_agent_runtime <- function(agentRuntimeName, agentRuntimeArtifact, roleArn, networkConfiguration, clientToken = NULL, description = NULL, authorizerConfiguration = NULL, requestHeaderConfiguration = NULL, protocolConfiguration = NULL, lifecycleConfiguration = NULL, environmentVariables = NULL, filesystemConfigurations = NULL, tags = NULL) {
op <- new_operation(
name = "CreateAgentRuntime",
http_method = "PUT",
http_path = "/runtimes/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_agent_runtime_input(agentRuntimeName = agentRuntimeName, agentRuntimeArtifact = agentRuntimeArtifact, roleArn = roleArn, networkConfiguration = networkConfiguration, clientToken = clientToken, description = description, authorizerConfiguration = authorizerConfiguration, requestHeaderConfiguration = requestHeaderConfiguration, protocolConfiguration = protocolConfiguration, lifecycleConfiguration = lifecycleConfiguration, environmentVariables = environmentVariables, filesystemConfigurations = filesystemConfigurations, tags = tags)
output <- .bedrockagentcorecontrol$create_agent_runtime_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_agent_runtime <- bedrockagentcorecontrol_create_agent_runtime
#' Creates an AgentCore Runtime endpoint
#'
#' @description
#' Creates an AgentCore Runtime endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_agent_runtime_endpoint/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_agent_runtime_endpoint/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime to create an endpoint for.
#' @param name [required] The name of the AgentCore Runtime endpoint.
#' @param agentRuntimeVersion The version of the AgentCore Runtime to use for the endpoint.
#' @param description The description of the AgentCore Runtime endpoint.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param tags A map of tag keys and values to assign to the agent runtime endpoint. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_agent_runtime_endpoint
bedrockagentcorecontrol_create_agent_runtime_endpoint <- function(agentRuntimeId, name, agentRuntimeVersion = NULL, description = NULL, clientToken = NULL, tags = NULL) {
op <- new_operation(
name = "CreateAgentRuntimeEndpoint",
http_method = "PUT",
http_path = "/runtimes/{agentRuntimeId}/runtime-endpoints/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_agent_runtime_endpoint_input(agentRuntimeId = agentRuntimeId, name = name, agentRuntimeVersion = agentRuntimeVersion, description = description, clientToken = clientToken, tags = tags)
output <- .bedrockagentcorecontrol$create_agent_runtime_endpoint_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_agent_runtime_endpoint <- bedrockagentcorecontrol_create_agent_runtime_endpoint
#' Creates a new API key credential provider
#'
#' @description
#' Creates a new API key credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_api_key_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_api_key_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the API key credential provider. The name must be unique within your account.
#' @param apiKey [required] The API key to use for authentication. This value is encrypted and stored securely.
#' @param tags A map of tag keys and values to assign to the API key credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_api_key_credential_provider
bedrockagentcorecontrol_create_api_key_credential_provider <- function(name, apiKey, tags = NULL) {
op <- new_operation(
name = "CreateApiKeyCredentialProvider",
http_method = "POST",
http_path = "/identities/CreateApiKeyCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_api_key_credential_provider_input(name = name, apiKey = apiKey, tags = tags)
output <- .bedrockagentcorecontrol$create_api_key_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_api_key_credential_provider <- bedrockagentcorecontrol_create_api_key_credential_provider
#' Creates a custom browser
#'
#' @description
#' Creates a custom browser.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_browser/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_browser/) for full documentation.
#'
#' @param name [required] The name of the browser. The name must be unique within your account.
#' @param description The description of the browser.
#' @param executionRoleArn The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services.
#' @param networkConfiguration [required] The network configuration for the browser. This configuration specifies the network mode for the browser.
#' @param recording The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.
#' @param browserSigning The browser signing configuration that enables cryptographic agent identification using HTTP message signatures for web bot authentication.
#' @param enterprisePolicies A list of enterprise policy files for the browser.
#' @param certificates A list of certificates to install in the browser.
#' @param clientToken A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.
#' @param tags A map of tag keys and values to assign to the browser. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_browser
bedrockagentcorecontrol_create_browser <- function(name, description = NULL, executionRoleArn = NULL, networkConfiguration, recording = NULL, browserSigning = NULL, enterprisePolicies = NULL, certificates = NULL, clientToken = NULL, tags = NULL) {
op <- new_operation(
name = "CreateBrowser",
http_method = "PUT",
http_path = "/browsers",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_browser_input(name = name, description = description, executionRoleArn = executionRoleArn, networkConfiguration = networkConfiguration, recording = recording, browserSigning = browserSigning, enterprisePolicies = enterprisePolicies, certificates = certificates, clientToken = clientToken, tags = tags)
output <- .bedrockagentcorecontrol$create_browser_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_browser <- bedrockagentcorecontrol_create_browser
#' Creates a browser profile in Amazon Bedrock AgentCore
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_browser_profile/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_browser_profile/) for full documentation.
#'
#' @param name [required] The name of the browser profile. The name must be unique within your account and can contain alphanumeric characters and underscores.
#' @param description A description of the browser profile. Use this field to describe the purpose or contents of the profile.
#' @param clientToken A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.
#' @param tags A map of tag keys and values to assign to the browser profile. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_browser_profile
bedrockagentcorecontrol_create_browser_profile <- function(name, description = NULL, clientToken = NULL, tags = NULL) {
op <- new_operation(
name = "CreateBrowserProfile",
http_method = "PUT",
http_path = "/browser-profiles",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_browser_profile_input(name = name, description = description, clientToken = clientToken, tags = tags)
output <- .bedrockagentcorecontrol$create_browser_profile_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_browser_profile <- bedrockagentcorecontrol_create_browser_profile
#' Creates a custom code interpreter
#'
#' @description
#' Creates a custom code interpreter.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_code_interpreter/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_code_interpreter/) for full documentation.
#'
#' @param name [required] The name of the code interpreter. The name must be unique within your account.
#' @param description The description of the code interpreter.
#' @param executionRoleArn The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.
#' @param networkConfiguration [required] The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.
#' @param certificates A list of certificates to install in the code interpreter.
#' @param clientToken A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.
#' @param tags A map of tag keys and values to assign to the code interpreter. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_code_interpreter
bedrockagentcorecontrol_create_code_interpreter <- function(name, description = NULL, executionRoleArn = NULL, networkConfiguration, certificates = NULL, clientToken = NULL, tags = NULL) {
op <- new_operation(
name = "CreateCodeInterpreter",
http_method = "PUT",
http_path = "/code-interpreters",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_code_interpreter_input(name = name, description = description, executionRoleArn = executionRoleArn, networkConfiguration = networkConfiguration, certificates = certificates, clientToken = clientToken, tags = tags)
output <- .bedrockagentcorecontrol$create_code_interpreter_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_code_interpreter <- bedrockagentcorecontrol_create_code_interpreter
#' Creates a new configuration bundle resource
#'
#' @description
#' Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_configuration_bundle/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_configuration_bundle/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param bundleName [required] The name for the configuration bundle. Names must be unique within your account.
#' @param description The description for the configuration bundle.
#' @param components [required] A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.
#' @param branchName The branch name for version tracking. Defaults to `mainline` if not specified.
#' @param commitMessage A commit message describing the initial version of the configuration bundle.
#' @param createdBy The source that created this version, including the source name and optional ARN.
#' @param tags A map of tag keys and values to assign to the configuration bundle. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_configuration_bundle
bedrockagentcorecontrol_create_configuration_bundle <- function(clientToken = NULL, bundleName, description = NULL, components, branchName = NULL, commitMessage = NULL, createdBy = NULL, tags = NULL) {
op <- new_operation(
name = "CreateConfigurationBundle",
http_method = "POST",
http_path = "/configuration-bundles/create",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_configuration_bundle_input(clientToken = clientToken, bundleName = bundleName, description = description, components = components, branchName = branchName, commitMessage = commitMessage, createdBy = createdBy, tags = tags)
output <- .bedrockagentcorecontrol$create_configuration_bundle_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_configuration_bundle <- bedrockagentcorecontrol_create_configuration_bundle
#' Creates a new Dataset resource asynchronously
#'
#' @description
#' Creates a new Dataset resource asynchronously.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_dataset/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_dataset/) for full documentation.
#'
#' @param clientToken Optional idempotency token.
#' @param datasetName [required] Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
#' @param description A description of the dataset.
#' @param source [required] Source of initial examples. Provide either inline examples or an S3 URI pointing to a JSONL file.
#' @param schemaType [required] Versioned schema type governing the structure of examples. Immutable after creation.
#' @param kmsKeyArn Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
#' @param tags A map of tag keys and values to assign to the dataset.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_dataset
bedrockagentcorecontrol_create_dataset <- function(clientToken = NULL, datasetName, description = NULL, source, schemaType, kmsKeyArn = NULL, tags = NULL) {
op <- new_operation(
name = "CreateDataset",
http_method = "POST",
http_path = "/datasets",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_dataset_input(clientToken = clientToken, datasetName = datasetName, description = description, source = source, schemaType = schemaType, kmsKeyArn = kmsKeyArn, tags = tags)
output <- .bedrockagentcorecontrol$create_dataset_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_dataset <- bedrockagentcorecontrol_create_dataset
#' Publishes the current DRAFT as a new numbered version
#'
#' @description
#' Publishes the current DRAFT as a new numbered version.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_dataset_version/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_dataset_version/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset to publish a version for.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_dataset_version
bedrockagentcorecontrol_create_dataset_version <- function(datasetId, clientToken = NULL) {
op <- new_operation(
name = "CreateDatasetVersion",
http_method = "POST",
http_path = "/datasets/{datasetId}/versions",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_dataset_version_input(datasetId = datasetId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$create_dataset_version_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_dataset_version <- bedrockagentcorecontrol_create_dataset_version
#' Creates a custom evaluator for agent quality assessment
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_evaluator/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_evaluator/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param evaluatorName [required] The name of the evaluator. Must be unique within your account.
#' @param description The description of the evaluator that explains its purpose and evaluation criteria.
#' @param evaluatorConfig [required] The configuration for the evaluator. Specify either LLM-as-a-Judge settings with instructions, rating scale, and model configuration, or code-based settings with a customer-managed Lambda function.
#' @param level [required] The evaluation level that determines the scope of evaluation. Valid values are `TOOL_CALL` for individual tool invocations, `TRACE` for single request-response interactions, or `SESSION` for entire conversation sessions.
#' @param kmsKeyArn The Amazon Resource Name (ARN) of a customer managed KMS key to use for encrypting sensitive evaluator data, including instructions and rating scale. If you don't specify a KMS key, the evaluator data is encrypted with an Amazon Web Services owned key. Only symmetric encryption KMS keys are supported. For more information, see [Encryption at rest for AgentCore Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html).
#' @param tags A map of tag keys and values to assign to an AgentCore Evaluator. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_evaluator
bedrockagentcorecontrol_create_evaluator <- function(clientToken = NULL, evaluatorName, description = NULL, evaluatorConfig, level, kmsKeyArn = NULL, tags = NULL) {
op <- new_operation(
name = "CreateEvaluator",
http_method = "POST",
http_path = "/evaluators/create",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_evaluator_input(clientToken = clientToken, evaluatorName = evaluatorName, description = description, evaluatorConfig = evaluatorConfig, level = level, kmsKeyArn = kmsKeyArn, tags = tags)
output <- .bedrockagentcorecontrol$create_evaluator_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_evaluator <- bedrockagentcorecontrol_create_evaluator
#' Creates a gateway for Amazon Bedrock Agent
#'
#' @description
#' Creates a gateway for Amazon Bedrock Agent. A gateway serves as an integration point between your agent and external services.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_gateway/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_gateway/) for full documentation.
#'
#' @param name [required] The name of the gateway. The name must be unique within your account.
#' @param description The description of the gateway.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param roleArn [required] The Amazon Resource Name (ARN) of the IAM role that provides permissions for the gateway to access Amazon Web Services services.
#' @param protocolType The protocol type for the gateway.
#' @param protocolConfiguration The configuration settings for the protocol specified in the `protocolType` parameter.
#' @param authorizerType [required] The type of authorizer to use for the gateway.
#'
#' - `CUSTOM_JWT` - Authorize with a bearer token.
#'
#' - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials.
#'
#' - `NONE` - No authorization
#' @param authorizerConfiguration The authorizer configuration for the gateway. Required if `authorizerType` is `CUSTOM_JWT`.
#' @param kmsKeyArn The Amazon Resource Name (ARN) of the KMS key used to encrypt data associated with the gateway.
#' @param interceptorConfigurations A list of configuration settings for a gateway interceptor. Gateway interceptors allow custom code to be invoked during gateway invocations.
#' @param policyEngineConfiguration The policy engine configuration for the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
#' @param exceptionLevel The level of detail in error messages returned when invoking the gateway.
#'
#' - If the value is `DEBUG`, granular exception messages are returned to help a user debug the gateway.
#'
#' - If the value is omitted, a generic error message is returned to the end user.
#' @param tags A map of key-value pairs to associate with the gateway as metadata tags.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_gateway
bedrockagentcorecontrol_create_gateway <- function(name, description = NULL, clientToken = NULL, roleArn, protocolType = NULL, protocolConfiguration = NULL, authorizerType, authorizerConfiguration = NULL, kmsKeyArn = NULL, interceptorConfigurations = NULL, policyEngineConfiguration = NULL, exceptionLevel = NULL, tags = NULL) {
op <- new_operation(
name = "CreateGateway",
http_method = "POST",
http_path = "/gateways/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_gateway_input(name = name, description = description, clientToken = clientToken, roleArn = roleArn, protocolType = protocolType, protocolConfiguration = protocolConfiguration, authorizerType = authorizerType, authorizerConfiguration = authorizerConfiguration, kmsKeyArn = kmsKeyArn, interceptorConfigurations = interceptorConfigurations, policyEngineConfiguration = policyEngineConfiguration, exceptionLevel = exceptionLevel, tags = tags)
output <- .bedrockagentcorecontrol$create_gateway_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_gateway <- bedrockagentcorecontrol_create_gateway
#' Creates a rule for a gateway
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_gateway_rule/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_gateway_rule/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to create a rule for.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param priority [required] The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first. Must be between 1 and 1,000,000.
#' @param conditions The conditions that must be met for the rule to apply. Conditions can match on principals (IAM ARNs) or request paths.
#' @param actions [required] The actions to take when the rule conditions are met. Actions can route to a specific target or apply a configuration bundle override.
#' @param description The description of the gateway rule.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_gateway_rule
bedrockagentcorecontrol_create_gateway_rule <- function(gatewayIdentifier, clientToken = NULL, priority, conditions = NULL, actions, description = NULL) {
op <- new_operation(
name = "CreateGatewayRule",
http_method = "POST",
http_path = "/gateways/{gatewayIdentifier}/rules",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_gateway_rule_input(gatewayIdentifier = gatewayIdentifier, clientToken = clientToken, priority = priority, conditions = conditions, actions = actions, description = description)
output <- .bedrockagentcorecontrol$create_gateway_rule_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_gateway_rule <- bedrockagentcorecontrol_create_gateway_rule
#' Creates a target for a gateway
#'
#' @description
#' Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_gateway_target/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_gateway_target/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to create a target for.
#' @param name [required] The name of the gateway target. The name must be unique within the gateway.
#' @param description The description of the gateway target.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param targetConfiguration [required] The configuration settings for the target, including endpoint information and schema definitions.
#' @param credentialProviderConfigurations The credential provider configurations for the target. These configurations specify how the gateway authenticates with the target endpoint.
#' @param metadataConfiguration Optional configuration for HTTP header and query parameter propagation to and from the gateway target.
#' @param privateEndpoint The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_gateway_target
bedrockagentcorecontrol_create_gateway_target <- function(gatewayIdentifier, name, description = NULL, clientToken = NULL, targetConfiguration, credentialProviderConfigurations = NULL, metadataConfiguration = NULL, privateEndpoint = NULL) {
op <- new_operation(
name = "CreateGatewayTarget",
http_method = "POST",
http_path = "/gateways/{gatewayIdentifier}/targets/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_gateway_target_input(gatewayIdentifier = gatewayIdentifier, name = name, description = description, clientToken = clientToken, targetConfiguration = targetConfiguration, credentialProviderConfigurations = credentialProviderConfigurations, metadataConfiguration = metadataConfiguration, privateEndpoint = privateEndpoint)
output <- .bedrockagentcorecontrol$create_gateway_target_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_gateway_target <- bedrockagentcorecontrol_create_gateway_target
#' Operation to create a Harness
#'
#' @description
#' Operation to create a Harness.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_harness/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_harness/) for full documentation.
#'
#' @param harnessName [required] The name of the harness. Must start with a letter and contain only alphanumeric characters and underscores.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param executionRoleArn [required] The ARN of the IAM role that the harness assumes when running. This role must have permissions for the services the agent needs to access, such as Amazon Bedrock for model invocation.
#' @param environment The compute environment configuration for the harness, including network and lifecycle settings.
#' @param environmentArtifact The environment artifact for the harness, such as a custom container image containing additional dependencies.
#' @param environmentVariables Environment variables to set in the harness runtime environment.
#' @param authorizerConfiguration Represents inbound authorization configuration options used to authenticate incoming requests.
#' @param model The model configuration for the harness. Supports Amazon Bedrock, OpenAI, and Google Gemini model providers.
#' @param systemPrompt The system prompt that defines the agent's behavior and instructions.
#' @param tools The tools available to the agent, such as remote MCP servers, AgentCore Gateway, AgentCore Browser, Code Interpreter, or inline functions.
#' @param skills The skills available to the agent. Skills are bundles of files that the agent can pull into its context on demand.
#' @param allowedTools The tools that the agent is allowed to use. Supports glob patterns such as * for all tools, @@builtin for all built-in tools, or @@serverName/toolName for specific MCP server tools.
#' @param memory The AgentCore Memory configuration for persisting conversation context across sessions.
#' @param truncation The truncation configuration for managing conversation context when it exceeds model limits.
#' @param maxIterations The maximum number of iterations the agent loop can execute per invocation.
#' @param maxTokens The maximum total number of output tokens the agent can generate across all model calls within a single invocation.
#' @param timeoutSeconds The maximum duration in seconds for the agent loop execution per invocation.
#' @param tags Tags to apply to the harness resource.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_harness
bedrockagentcorecontrol_create_harness <- function(harnessName, clientToken = NULL, executionRoleArn, environment = NULL, environmentArtifact = NULL, environmentVariables = NULL, authorizerConfiguration = NULL, model = NULL, systemPrompt = NULL, tools = NULL, skills = NULL, allowedTools = NULL, memory = NULL, truncation = NULL, maxIterations = NULL, maxTokens = NULL, timeoutSeconds = NULL, tags = NULL) {
op <- new_operation(
name = "CreateHarness",
http_method = "POST",
http_path = "/harnesses",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_harness_input(harnessName = harnessName, clientToken = clientToken, executionRoleArn = executionRoleArn, environment = environment, environmentArtifact = environmentArtifact, environmentVariables = environmentVariables, authorizerConfiguration = authorizerConfiguration, model = model, systemPrompt = systemPrompt, tools = tools, skills = skills, allowedTools = allowedTools, memory = memory, truncation = truncation, maxIterations = maxIterations, maxTokens = maxTokens, timeoutSeconds = timeoutSeconds, tags = tags)
output <- .bedrockagentcorecontrol$create_harness_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_harness <- bedrockagentcorecontrol_create_harness
#' Creates a new Amazon Bedrock AgentCore Memory resource
#'
#' @description
#' Creates a new Amazon Bedrock AgentCore Memory resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_memory/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_memory/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
#' @param name [required] The name of the memory. The name must be unique within your account.
#' @param description The description of the memory.
#' @param encryptionKeyArn The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data.
#' @param memoryExecutionRoleArn The Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services.
#' @param eventExpiryDuration [required] The duration after which memory events expire. Specified as an ISO 8601 duration.
#' @param memoryStrategies The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated.
#' @param indexedKeys Metadata keys to index for filtering. Once declared, indexed keys cannot be removed.
#' @param streamDeliveryResources Configuration for streaming memory record data to external resources.
#' @param tags A map of tag keys and values to assign to an AgentCore Memory. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_memory
bedrockagentcorecontrol_create_memory <- function(clientToken = NULL, name, description = NULL, encryptionKeyArn = NULL, memoryExecutionRoleArn = NULL, eventExpiryDuration, memoryStrategies = NULL, indexedKeys = NULL, streamDeliveryResources = NULL, tags = NULL) {
op <- new_operation(
name = "CreateMemory",
http_method = "POST",
http_path = "/memories/create",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_memory_input(clientToken = clientToken, name = name, description = description, encryptionKeyArn = encryptionKeyArn, memoryExecutionRoleArn = memoryExecutionRoleArn, eventExpiryDuration = eventExpiryDuration, memoryStrategies = memoryStrategies, indexedKeys = indexedKeys, streamDeliveryResources = streamDeliveryResources, tags = tags)
output <- .bedrockagentcorecontrol$create_memory_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_memory <- bedrockagentcorecontrol_create_memory
#' Creates a new OAuth2 credential provider
#'
#' @description
#' Creates a new OAuth2 credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_oauth_2_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_oauth_2_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the OAuth2 credential provider. The name must be unique within your account.
#' @param credentialProviderVendor [required] The vendor of the OAuth2 credential provider. This specifies which OAuth2 implementation to use.
#' @param oauth2ProviderConfigInput [required] The configuration settings for the OAuth2 provider, including client ID, client secret, and other vendor-specific settings.
#' @param tags A map of tag keys and values to assign to the OAuth2 credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_oauth_2_credential_provider
bedrockagentcorecontrol_create_oauth_2_credential_provider <- function(name, credentialProviderVendor, oauth2ProviderConfigInput, tags = NULL) {
op <- new_operation(
name = "CreateOauth2CredentialProvider",
http_method = "POST",
http_path = "/identities/CreateOauth2CredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_oauth_2_credential_provider_input(name = name, credentialProviderVendor = credentialProviderVendor, oauth2ProviderConfigInput = oauth2ProviderConfigInput, tags = tags)
output <- .bedrockagentcorecontrol$create_oauth_2_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_oauth_2_credential_provider <- bedrockagentcorecontrol_create_oauth_2_credential_provider
#' Creates an online evaluation configuration for continuous monitoring of
#' agent performance
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_online_evaluation_config/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_online_evaluation_config/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param onlineEvaluationConfigName [required] The name of the online evaluation configuration. Must be unique within your account.
#' @param description The description of the online evaluation configuration that explains its monitoring purpose and scope.
#' @param rule [required] The evaluation rule that defines sampling configuration, filters, and session detection settings for the online evaluation.
#' @param dataSourceConfig [required] The data source configuration that specifies CloudWatch log groups and service names to monitor for agent traces.
#' @param evaluators [required] The list of evaluators to apply during online evaluation. Can include both built-in evaluators and custom evaluators created with [`create_evaluator`][bedrockagentcorecontrol_create_evaluator].
#' @param evaluationExecutionRoleArn [required] The Amazon Resource Name (ARN) of the IAM role that grants permissions to read from CloudWatch logs, write evaluation results, and invoke Amazon Bedrock models for evaluation. If the configuration references evaluators encrypted with a customer managed KMS key, this role must also have `kms:Decrypt` permission on the KMS key. The service validates this permission at configuration creation time. For more information, see [Encryption at rest for AgentCore Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html).
#' @param enableOnCreate [required] Whether to enable the online evaluation configuration immediately upon creation. If true, evaluation begins automatically.
#' @param tags A map of tag keys and values to assign to an AgentCore Online Evaluation Config. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_online_evaluation_config
bedrockagentcorecontrol_create_online_evaluation_config <- function(clientToken = NULL, onlineEvaluationConfigName, description = NULL, rule, dataSourceConfig, evaluators, evaluationExecutionRoleArn, enableOnCreate, tags = NULL) {
op <- new_operation(
name = "CreateOnlineEvaluationConfig",
http_method = "POST",
http_path = "/online-evaluation-configs/create",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_online_evaluation_config_input(clientToken = clientToken, onlineEvaluationConfigName = onlineEvaluationConfigName, description = description, rule = rule, dataSourceConfig = dataSourceConfig, evaluators = evaluators, evaluationExecutionRoleArn = evaluationExecutionRoleArn, enableOnCreate = enableOnCreate, tags = tags)
output <- .bedrockagentcorecontrol$create_online_evaluation_config_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_online_evaluation_config <- bedrockagentcorecontrol_create_online_evaluation_config
#' Creates a new payment connector for a payment manager
#'
#' @description
#' Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_payment_connector/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_payment_connector/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the payment manager to create the connector for.
#' @param name [required] The name of the payment connector.
#' @param description A description of the payment connector.
#' @param type [required] The type of payment connector, which determines the payment provider integration.
#' @param credentialProviderConfigurations [required] The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_payment_connector
bedrockagentcorecontrol_create_payment_connector <- function(paymentManagerId, name, description = NULL, type, credentialProviderConfigurations, clientToken = NULL) {
op <- new_operation(
name = "CreatePaymentConnector",
http_method = "POST",
http_path = "/payments/managers/{paymentManagerId}/connectors",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_payment_connector_input(paymentManagerId = paymentManagerId, name = name, description = description, type = type, credentialProviderConfigurations = credentialProviderConfigurations, clientToken = clientToken)
output <- .bedrockagentcorecontrol$create_payment_connector_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_payment_connector <- bedrockagentcorecontrol_create_payment_connector
#' Creates a new payment credential provider for storing authentication
#' credentials used by payment connectors to communicate with external
#' payment providers
#'
#' @description
#' Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_payment_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_payment_credential_provider/) for full documentation.
#'
#' @param name [required] Unique name for the payment credential provider.
#' @param credentialProviderVendor [required] The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).
#' @param providerConfigurationInput [required] Configuration specific to the vendor, including API credentials.
#' @param tags Optional tags for resource organization.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_payment_credential_provider
bedrockagentcorecontrol_create_payment_credential_provider <- function(name, credentialProviderVendor, providerConfigurationInput, tags = NULL) {
op <- new_operation(
name = "CreatePaymentCredentialProvider",
http_method = "POST",
http_path = "/identities/CreatePaymentCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_payment_credential_provider_input(name = name, credentialProviderVendor = credentialProviderVendor, providerConfigurationInput = providerConfigurationInput, tags = tags)
output <- .bedrockagentcorecontrol$create_payment_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_payment_credential_provider <- bedrockagentcorecontrol_create_payment_credential_provider
#' Creates a new payment manager in your Amazon Web Services account
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_payment_manager/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_payment_manager/) for full documentation.
#'
#' @param name [required] The name of the payment manager.
#' @param description A description of the payment manager.
#' @param authorizerType [required] The type of authorizer to use for the payment manager.
#'
#' - `CUSTOM_JWT` - Authorize with a bearer token.
#'
#' - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials.
#' @param authorizerConfiguration The authorizer configuration for the payment manager.
#' @param roleArn [required] The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param tags A map of tag keys and values to assign to the payment manager.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_payment_manager
bedrockagentcorecontrol_create_payment_manager <- function(name, description = NULL, authorizerType, authorizerConfiguration = NULL, roleArn, clientToken = NULL, tags = NULL) {
op <- new_operation(
name = "CreatePaymentManager",
http_method = "POST",
http_path = "/payments/managers",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_payment_manager_input(name = name, description = description, authorizerType = authorizerType, authorizerConfiguration = authorizerConfiguration, roleArn = roleArn, clientToken = clientToken, tags = tags)
output <- .bedrockagentcorecontrol$create_payment_manager_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_payment_manager <- bedrockagentcorecontrol_create_payment_manager
#' Creates a policy within the AgentCore Policy system
#'
#' @description
#' 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 [`get_policy`][bedrockagentcorecontrol_get_policy] operation to poll the `status` field to track completion.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_policy/) for full documentation.
#'
#' @param name [required] The customer-assigned immutable name for the policy. Must be unique within the account. This name is used for policy identification and cannot be changed after creation.
#' @param definition [required] The Cedar policy statement that defines the access control rules. This contains the actual policy logic written in Cedar policy language, specifying effect (permit or forbid), principals, actions, resources, and conditions for agent behavior control.
#' @param description A human-readable description of the policy's purpose and functionality (1-4,096 characters). This helps policy administrators understand the policy's intent, business rules, and operational scope. Use this field to document why the policy exists, what business requirement it addresses, and any special considerations for maintenance. Clear descriptions are essential for policy governance, auditing, and troubleshooting.
#' @param validationMode The validation mode for the policy creation. Determines how Cedar analyzer validation results are handled during policy creation. FAIL_ON_ANY_FINDINGS (default) runs the Cedar analyzer to validate the policy against the Cedar schema and tool context, failing creation if the analyzer detects any validation issues to ensure strict conformance. IGNORE_ALL_FINDINGS runs the Cedar analyzer but allows policy creation even if validation issues are detected, useful for testing or when the policy schema is evolving. Use FAIL_ON_ANY_FINDINGS for production policies to ensure correctness, and IGNORE_ALL_FINDINGS only when you understand and accept the analyzer findings.
#' @param policyEngineId [required] The identifier of the policy engine which contains this policy. Policy engines group related policies and provide the execution context for policy evaluation.
#' @param clientToken A unique, case-sensitive identifier to ensure the idempotency of the request. The AWS SDK automatically generates this token, so you don't need to provide it in most cases. If you retry a request with the same client token, the service returns the same response without creating a duplicate policy.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_policy
bedrockagentcorecontrol_create_policy <- function(name, definition, description = NULL, validationMode = NULL, policyEngineId, clientToken = NULL) {
op <- new_operation(
name = "CreatePolicy",
http_method = "POST",
http_path = "/policy-engines/{policyEngineId}/policies",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_policy_input(name = name, definition = definition, description = description, validationMode = validationMode, policyEngineId = policyEngineId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$create_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_policy <- bedrockagentcorecontrol_create_policy
#' Creates a new policy engine within the AgentCore Policy system
#'
#' @description
#' 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 [`get_policy_engine`][bedrockagentcorecontrol_get_policy_engine] operation to poll the `status` field to track completion.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_policy_engine/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_policy_engine/) for full documentation.
#'
#' @param name [required] The customer-assigned immutable name for the policy engine. This name identifies the policy engine and cannot be changed after creation.
#' @param description A human-readable description of the policy engine's purpose and scope (1-4,096 characters). This helps administrators understand the policy engine's role in the overall governance strategy. Document which Gateway this engine will be associated with, what types of tools or workflows it governs, and the team or service responsible for maintaining it. Clear descriptions are essential when managing multiple policy engines across different services or environments.
#' @param clientToken A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request with the same client token, the service returns the same response without creating a duplicate policy engine.
#' @param encryptionKeyArn The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
#' @param tags A map of tag keys and values to assign to an AgentCore Policy. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_policy_engine
bedrockagentcorecontrol_create_policy_engine <- function(name, description = NULL, clientToken = NULL, encryptionKeyArn = NULL, tags = NULL) {
op <- new_operation(
name = "CreatePolicyEngine",
http_method = "POST",
http_path = "/policy-engines",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_policy_engine_input(name = name, description = description, clientToken = clientToken, encryptionKeyArn = encryptionKeyArn, tags = tags)
output <- .bedrockagentcorecontrol$create_policy_engine_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_policy_engine <- bedrockagentcorecontrol_create_policy_engine
#' Creates a new registry in your Amazon Web Services account
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_registry/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_registry/) for full documentation.
#'
#' @param name [required] The name of the registry. The name must be unique within your account and can contain alphanumeric characters and underscores.
#' @param description A description of the registry.
#' @param authorizerType The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.
#'
#' - `CUSTOM_JWT` - Authorize with a bearer token.
#'
#' - `AWS_IAM` - Authorize with your Amazon Web Services IAM credentials.
#' @param authorizerConfiguration The authorizer configuration for the registry. Required if `authorizerType` is `CUSTOM_JWT`. For details, see the `AuthorizerConfiguration` data type.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param approvalConfiguration The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the `ApprovalConfiguration` data type for supported configuration options.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_registry
bedrockagentcorecontrol_create_registry <- function(name, description = NULL, authorizerType = NULL, authorizerConfiguration = NULL, clientToken = NULL, approvalConfiguration = NULL) {
op <- new_operation(
name = "CreateRegistry",
http_method = "POST",
http_path = "/registries",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_registry_input(name = name, description = description, authorizerType = authorizerType, authorizerConfiguration = authorizerConfiguration, clientToken = clientToken, approvalConfiguration = approvalConfiguration)
output <- .bedrockagentcorecontrol$create_registry_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_registry <- bedrockagentcorecontrol_create_registry
#' Creates a new registry record within the specified registry
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_registry_record/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_registry_record/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param name [required] The name of the registry record.
#' @param description A description of the registry record.
#' @param descriptorType [required] The descriptor type of the registry record.
#'
#' - `MCP` - Model Context Protocol descriptor for MCP-compatible servers and tools.
#'
#' - `A2A` - Agent-to-Agent protocol descriptor.
#'
#' - `CUSTOM` - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.
#'
#' - `AGENT_SKILLS` - Agent skills descriptor for defining agent skill definitions.
#' @param descriptors The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on the `descriptorType` you specify.
#' @param recordVersion The version of the registry record. Use this to track different versions of the record's content.
#' @param synchronizationType The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include `FROM_URL` and `NONE`.
#' @param synchronizationConfiguration The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_registry_record
bedrockagentcorecontrol_create_registry_record <- function(registryId, name, description = NULL, descriptorType, descriptors = NULL, recordVersion = NULL, synchronizationType = NULL, synchronizationConfiguration = NULL, clientToken = NULL) {
op <- new_operation(
name = "CreateRegistryRecord",
http_method = "POST",
http_path = "/registries/{registryId}/records",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_registry_record_input(registryId = registryId, name = name, description = description, descriptorType = descriptorType, descriptors = descriptors, recordVersion = recordVersion, synchronizationType = synchronizationType, synchronizationConfiguration = synchronizationConfiguration, clientToken = clientToken)
output <- .bedrockagentcorecontrol$create_registry_record_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_registry_record <- bedrockagentcorecontrol_create_registry_record
#' Creates a new workload identity
#'
#' @description
#' Creates a new workload identity.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_workload_identity/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_create_workload_identity/) for full documentation.
#'
#' @param name [required] The name of the workload identity. The name must be unique within your account.
#' @param allowedResourceOauth2ReturnUrls The list of allowed OAuth2 return URLs for resources associated with this workload identity.
#' @param tags A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_create_workload_identity
bedrockagentcorecontrol_create_workload_identity <- function(name, allowedResourceOauth2ReturnUrls = NULL, tags = NULL) {
op <- new_operation(
name = "CreateWorkloadIdentity",
http_method = "POST",
http_path = "/identities/CreateWorkloadIdentity",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$create_workload_identity_input(name = name, allowedResourceOauth2ReturnUrls = allowedResourceOauth2ReturnUrls, tags = tags)
output <- .bedrockagentcorecontrol$create_workload_identity_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$create_workload_identity <- bedrockagentcorecontrol_create_workload_identity
#' Deletes an Amazon Bedrock AgentCore Runtime
#'
#' @description
#' Deletes an Amazon Bedrock AgentCore Runtime.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_agent_runtime/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_agent_runtime/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_agent_runtime
bedrockagentcorecontrol_delete_agent_runtime <- function(agentRuntimeId, clientToken = NULL) {
op <- new_operation(
name = "DeleteAgentRuntime",
http_method = "DELETE",
http_path = "/runtimes/{agentRuntimeId}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_agent_runtime_input(agentRuntimeId = agentRuntimeId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_agent_runtime_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_agent_runtime <- bedrockagentcorecontrol_delete_agent_runtime
#' Deletes an AAgentCore Runtime endpoint
#'
#' @description
#' Deletes an AAgentCore Runtime endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_agent_runtime_endpoint/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_agent_runtime_endpoint/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime associated with the endpoint.
#' @param endpointName [required] The name of the AgentCore Runtime endpoint to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_agent_runtime_endpoint
bedrockagentcorecontrol_delete_agent_runtime_endpoint <- function(agentRuntimeId, endpointName, clientToken = NULL) {
op <- new_operation(
name = "DeleteAgentRuntimeEndpoint",
http_method = "DELETE",
http_path = "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_agent_runtime_endpoint_input(agentRuntimeId = agentRuntimeId, endpointName = endpointName, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_agent_runtime_endpoint_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_agent_runtime_endpoint <- bedrockagentcorecontrol_delete_agent_runtime_endpoint
#' Deletes an API key credential provider
#'
#' @description
#' Deletes an API key credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_api_key_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_api_key_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the API key credential provider to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_api_key_credential_provider
bedrockagentcorecontrol_delete_api_key_credential_provider <- function(name) {
op <- new_operation(
name = "DeleteApiKeyCredentialProvider",
http_method = "POST",
http_path = "/identities/DeleteApiKeyCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_api_key_credential_provider_input(name = name)
output <- .bedrockagentcorecontrol$delete_api_key_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_api_key_credential_provider <- bedrockagentcorecontrol_delete_api_key_credential_provider
#' Deletes a custom browser
#'
#' @description
#' Deletes a custom browser.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_browser/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_browser/) for full documentation.
#'
#' @param browserId [required] The unique identifier of the browser to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_browser
bedrockagentcorecontrol_delete_browser <- function(browserId, clientToken = NULL) {
op <- new_operation(
name = "DeleteBrowser",
http_method = "DELETE",
http_path = "/browsers/{browserId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_browser_input(browserId = browserId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_browser_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_browser <- bedrockagentcorecontrol_delete_browser
#' Deletes a browser profile
#'
#' @description
#' Deletes a browser profile.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_browser_profile/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_browser_profile/) for full documentation.
#'
#' @param profileId [required] The unique identifier of the browser profile to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_browser_profile
bedrockagentcorecontrol_delete_browser_profile <- function(profileId, clientToken = NULL) {
op <- new_operation(
name = "DeleteBrowserProfile",
http_method = "DELETE",
http_path = "/browser-profiles/{profileId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_browser_profile_input(profileId = profileId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_browser_profile_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_browser_profile <- bedrockagentcorecontrol_delete_browser_profile
#' Deletes a custom code interpreter
#'
#' @description
#' Deletes a custom code interpreter.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_code_interpreter/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_code_interpreter/) for full documentation.
#'
#' @param codeInterpreterId [required] The unique identifier of the code interpreter to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_code_interpreter
bedrockagentcorecontrol_delete_code_interpreter <- function(codeInterpreterId, clientToken = NULL) {
op <- new_operation(
name = "DeleteCodeInterpreter",
http_method = "DELETE",
http_path = "/code-interpreters/{codeInterpreterId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_code_interpreter_input(codeInterpreterId = codeInterpreterId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_code_interpreter_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_code_interpreter <- bedrockagentcorecontrol_delete_code_interpreter
#' Deletes a configuration bundle and all of its versions
#'
#' @description
#' Deletes a configuration bundle and all of its versions.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_configuration_bundle/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_configuration_bundle/) for full documentation.
#'
#' @param bundleId [required] The unique identifier of the configuration bundle to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_configuration_bundle
bedrockagentcorecontrol_delete_configuration_bundle <- function(bundleId) {
op <- new_operation(
name = "DeleteConfigurationBundle",
http_method = "DELETE",
http_path = "/configuration-bundles/{bundleId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_configuration_bundle_input(bundleId = bundleId)
output <- .bedrockagentcorecontrol$delete_configuration_bundle_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_configuration_bundle <- bedrockagentcorecontrol_delete_configuration_bundle
#' Deletes a dataset version or an entire dataset (all versions + name
#' claim)
#'
#' @description
#' Deletes a dataset version or an entire dataset (all versions + name claim). Asynchronous 202.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_dataset/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_dataset/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset to delete.
#' @param datasetVersion Optional version to delete. Use "DRAFT" or omit to delete the draft. Returns ResourceNotFoundException if the specified version does not exist.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_dataset
bedrockagentcorecontrol_delete_dataset <- function(datasetId, datasetVersion = NULL) {
op <- new_operation(
name = "DeleteDataset",
http_method = "DELETE",
http_path = "/datasets/{datasetId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_dataset_input(datasetId = datasetId, datasetVersion = datasetVersion)
output <- .bedrockagentcorecontrol$delete_dataset_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_dataset <- bedrockagentcorecontrol_delete_dataset
#' Deletes specific examples by ID from DRAFT
#'
#' @description
#' Deletes specific examples by ID from DRAFT.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_dataset_examples/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_dataset_examples/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param exampleIds [required] The IDs of the examples to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_dataset_examples
bedrockagentcorecontrol_delete_dataset_examples <- function(datasetId, clientToken = NULL, exampleIds) {
op <- new_operation(
name = "DeleteDatasetExamples",
http_method = "POST",
http_path = "/datasets/{datasetId}/examples/delete",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_dataset_examples_input(datasetId = datasetId, clientToken = clientToken, exampleIds = exampleIds)
output <- .bedrockagentcorecontrol$delete_dataset_examples_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_dataset_examples <- bedrockagentcorecontrol_delete_dataset_examples
#' Deletes a custom evaluator
#'
#' @description
#' Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_evaluator/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_evaluator/) for full documentation.
#'
#' @param evaluatorId [required] The unique identifier of the evaluator to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_evaluator
bedrockagentcorecontrol_delete_evaluator <- function(evaluatorId) {
op <- new_operation(
name = "DeleteEvaluator",
http_method = "DELETE",
http_path = "/evaluators/{evaluatorId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_evaluator_input(evaluatorId = evaluatorId)
output <- .bedrockagentcorecontrol$delete_evaluator_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_evaluator <- bedrockagentcorecontrol_delete_evaluator
#' Deletes a gateway
#'
#' @description
#' Deletes a gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_gateway/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_gateway/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_gateway
bedrockagentcorecontrol_delete_gateway <- function(gatewayIdentifier) {
op <- new_operation(
name = "DeleteGateway",
http_method = "DELETE",
http_path = "/gateways/{gatewayIdentifier}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_gateway_input(gatewayIdentifier = gatewayIdentifier)
output <- .bedrockagentcorecontrol$delete_gateway_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_gateway <- bedrockagentcorecontrol_delete_gateway
#' Deletes a gateway rule
#'
#' @description
#' Deletes a gateway rule.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_gateway_rule/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_gateway_rule/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway containing the rule.
#' @param ruleId [required] The unique identifier of the rule to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_gateway_rule
bedrockagentcorecontrol_delete_gateway_rule <- function(gatewayIdentifier, ruleId) {
op <- new_operation(
name = "DeleteGatewayRule",
http_method = "DELETE",
http_path = "/gateways/{gatewayIdentifier}/rules/{ruleId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_gateway_rule_input(gatewayIdentifier = gatewayIdentifier, ruleId = ruleId)
output <- .bedrockagentcorecontrol$delete_gateway_rule_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_gateway_rule <- bedrockagentcorecontrol_delete_gateway_rule
#' Deletes a gateway target
#'
#' @description
#' Deletes a gateway target.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_gateway_target/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_gateway_target/) for full documentation.
#'
#' @param gatewayIdentifier [required] The unique identifier of the gateway associated with the target.
#' @param targetId [required] The unique identifier of the gateway target to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_gateway_target
bedrockagentcorecontrol_delete_gateway_target <- function(gatewayIdentifier, targetId) {
op <- new_operation(
name = "DeleteGatewayTarget",
http_method = "DELETE",
http_path = "/gateways/{gatewayIdentifier}/targets/{targetId}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_gateway_target_input(gatewayIdentifier = gatewayIdentifier, targetId = targetId)
output <- .bedrockagentcorecontrol$delete_gateway_target_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_gateway_target <- bedrockagentcorecontrol_delete_gateway_target
#' Operation to delete a Harness
#'
#' @description
#' Operation to delete a Harness.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_harness/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_harness/) for full documentation.
#'
#' @param harnessId [required] The ID of the harness to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_harness
bedrockagentcorecontrol_delete_harness <- function(harnessId, clientToken = NULL) {
op <- new_operation(
name = "DeleteHarness",
http_method = "DELETE",
http_path = "/harnesses/{harnessId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_harness_input(harnessId = harnessId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_harness_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_harness <- bedrockagentcorecontrol_delete_harness
#' Deletes an Amazon Bedrock AgentCore Memory resource
#'
#' @description
#' Deletes an Amazon Bedrock AgentCore Memory resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_memory/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_memory/) for full documentation.
#'
#' @param clientToken A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.
#' @param memoryId [required] The unique identifier of the memory to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_memory
bedrockagentcorecontrol_delete_memory <- function(clientToken = NULL, memoryId) {
op <- new_operation(
name = "DeleteMemory",
http_method = "DELETE",
http_path = "/memories/{memoryId}/delete",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_memory_input(clientToken = clientToken, memoryId = memoryId)
output <- .bedrockagentcorecontrol$delete_memory_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_memory <- bedrockagentcorecontrol_delete_memory
#' Deletes an OAuth2 credential provider
#'
#' @description
#' Deletes an OAuth2 credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_oauth_2_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_oauth_2_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the OAuth2 credential provider to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_oauth_2_credential_provider
bedrockagentcorecontrol_delete_oauth_2_credential_provider <- function(name) {
op <- new_operation(
name = "DeleteOauth2CredentialProvider",
http_method = "POST",
http_path = "/identities/DeleteOauth2CredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_oauth_2_credential_provider_input(name = name)
output <- .bedrockagentcorecontrol$delete_oauth_2_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_oauth_2_credential_provider <- bedrockagentcorecontrol_delete_oauth_2_credential_provider
#' Deletes an online evaluation configuration and stops any ongoing
#' evaluation processes associated with it
#'
#' @description
#' Deletes an online evaluation configuration and stops any ongoing evaluation processes associated with it.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_online_evaluation_config/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_online_evaluation_config/) for full documentation.
#'
#' @param onlineEvaluationConfigId [required] The unique identifier of the online evaluation configuration to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_online_evaluation_config
bedrockagentcorecontrol_delete_online_evaluation_config <- function(onlineEvaluationConfigId) {
op <- new_operation(
name = "DeleteOnlineEvaluationConfig",
http_method = "DELETE",
http_path = "/online-evaluation-configs/{onlineEvaluationConfigId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_online_evaluation_config_input(onlineEvaluationConfigId = onlineEvaluationConfigId)
output <- .bedrockagentcorecontrol$delete_online_evaluation_config_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_online_evaluation_config <- bedrockagentcorecontrol_delete_online_evaluation_config
#' Deletes a payment connector
#'
#' @description
#' Deletes a payment connector.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_payment_connector/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_payment_connector/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the parent payment manager.
#' @param paymentConnectorId [required] The unique identifier of the payment connector to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_payment_connector
bedrockagentcorecontrol_delete_payment_connector <- function(paymentManagerId, paymentConnectorId, clientToken = NULL) {
op <- new_operation(
name = "DeletePaymentConnector",
http_method = "DELETE",
http_path = "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_payment_connector_input(paymentManagerId = paymentManagerId, paymentConnectorId = paymentConnectorId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_payment_connector_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_payment_connector <- bedrockagentcorecontrol_delete_payment_connector
#' Deletes a payment credential provider and its associated stored
#' credentials
#'
#' @description
#' Deletes a payment credential provider and its associated stored credentials.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_payment_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_payment_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the payment credential provider to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_payment_credential_provider
bedrockagentcorecontrol_delete_payment_credential_provider <- function(name) {
op <- new_operation(
name = "DeletePaymentCredentialProvider",
http_method = "POST",
http_path = "/identities/DeletePaymentCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_payment_credential_provider_input(name = name)
output <- .bedrockagentcorecontrol$delete_payment_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_payment_credential_provider <- bedrockagentcorecontrol_delete_payment_credential_provider
#' Deletes a payment manager
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_payment_manager/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_payment_manager/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the payment manager to delete.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_payment_manager
bedrockagentcorecontrol_delete_payment_manager <- function(paymentManagerId, clientToken = NULL) {
op <- new_operation(
name = "DeletePaymentManager",
http_method = "DELETE",
http_path = "/payments/managers/{paymentManagerId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_payment_manager_input(paymentManagerId = paymentManagerId, clientToken = clientToken)
output <- .bedrockagentcorecontrol$delete_payment_manager_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_payment_manager <- bedrockagentcorecontrol_delete_payment_manager
#' Deletes an existing policy from the AgentCore Policy system
#'
#' @description
#' 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 [`get_policy`][bedrockagentcorecontrol_get_policy] operation to poll the `status` field to track completion.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_policy/) for full documentation.
#'
#' @param policyEngineId [required] The identifier of the policy engine that manages the policy to be deleted. This ensures the policy is deleted from the correct policy engine context.
#' @param policyId [required] The unique identifier of the policy to be deleted. This must be a valid policy ID that exists within the specified policy engine.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_policy
bedrockagentcorecontrol_delete_policy <- function(policyEngineId, policyId) {
op <- new_operation(
name = "DeletePolicy",
http_method = "DELETE",
http_path = "/policy-engines/{policyEngineId}/policies/{policyId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_policy_input(policyEngineId = policyEngineId, policyId = policyId)
output <- .bedrockagentcorecontrol$delete_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_policy <- bedrockagentcorecontrol_delete_policy
#' Deletes an existing policy engine from the AgentCore Policy system
#'
#' @description
#' 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 [`get_policy_engine`][bedrockagentcorecontrol_get_policy_engine] operation to poll the `status` field to track completion.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_policy_engine/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_policy_engine/) for full documentation.
#'
#' @param policyEngineId [required] The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that exists within the account.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_policy_engine
bedrockagentcorecontrol_delete_policy_engine <- function(policyEngineId) {
op <- new_operation(
name = "DeletePolicyEngine",
http_method = "DELETE",
http_path = "/policy-engines/{policyEngineId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_policy_engine_input(policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$delete_policy_engine_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_policy_engine <- bedrockagentcorecontrol_delete_policy_engine
#' Deletes a registry
#'
#' @description
#' Deletes a registry. The registry must contain zero records before it can be deleted. This operation initiates the deletion process asynchronously.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_registry/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_registry/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry to delete. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_registry
bedrockagentcorecontrol_delete_registry <- function(registryId) {
op <- new_operation(
name = "DeleteRegistry",
http_method = "DELETE",
http_path = "/registries/{registryId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_registry_input(registryId = registryId)
output <- .bedrockagentcorecontrol$delete_registry_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_registry <- bedrockagentcorecontrol_delete_registry
#' Deletes a registry record
#'
#' @description
#' Deletes a registry record. The record's status transitions to `DELETING` and the record is removed asynchronously.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_registry_record/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_registry_record/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param recordId [required] The identifier of the registry record to delete. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_registry_record
bedrockagentcorecontrol_delete_registry_record <- function(registryId, recordId) {
op <- new_operation(
name = "DeleteRegistryRecord",
http_method = "DELETE",
http_path = "/registries/{registryId}/records/{recordId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_registry_record_input(registryId = registryId, recordId = recordId)
output <- .bedrockagentcorecontrol$delete_registry_record_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_registry_record <- bedrockagentcorecontrol_delete_registry_record
#' Deletes the resource-based policy for a specified resource
#'
#' @description
#' Deletes the resource-based policy for a specified resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_resource_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_resource_policy/) for full documentation.
#'
#' @param resourceArn [required] The Amazon Resource Name (ARN) of the resource for which to delete the resource policy.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_resource_policy
bedrockagentcorecontrol_delete_resource_policy <- function(resourceArn) {
op <- new_operation(
name = "DeleteResourcePolicy",
http_method = "DELETE",
http_path = "/resourcepolicy/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_resource_policy_input(resourceArn = resourceArn)
output <- .bedrockagentcorecontrol$delete_resource_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_resource_policy <- bedrockagentcorecontrol_delete_resource_policy
#' Deletes a workload identity
#'
#' @description
#' Deletes a workload identity.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_workload_identity/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_delete_workload_identity/) for full documentation.
#'
#' @param name [required] The name of the workload identity to delete.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_delete_workload_identity
bedrockagentcorecontrol_delete_workload_identity <- function(name) {
op <- new_operation(
name = "DeleteWorkloadIdentity",
http_method = "POST",
http_path = "/identities/DeleteWorkloadIdentity",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$delete_workload_identity_input(name = name)
output <- .bedrockagentcorecontrol$delete_workload_identity_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$delete_workload_identity <- bedrockagentcorecontrol_delete_workload_identity
#' Gets an Amazon Bedrock AgentCore Runtime
#'
#' @description
#' Gets an Amazon Bedrock AgentCore Runtime.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_agent_runtime/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_agent_runtime/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime to retrieve.
#' @param agentRuntimeVersion The version of the AgentCore Runtime to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_agent_runtime
bedrockagentcorecontrol_get_agent_runtime <- function(agentRuntimeId, agentRuntimeVersion = NULL) {
op <- new_operation(
name = "GetAgentRuntime",
http_method = "GET",
http_path = "/runtimes/{agentRuntimeId}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_agent_runtime_input(agentRuntimeId = agentRuntimeId, agentRuntimeVersion = agentRuntimeVersion)
output <- .bedrockagentcorecontrol$get_agent_runtime_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_agent_runtime <- bedrockagentcorecontrol_get_agent_runtime
#' Gets information about an Amazon Secure AgentEndpoint
#'
#' @description
#' Gets information about an Amazon Secure AgentEndpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_agent_runtime_endpoint/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_agent_runtime_endpoint/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime associated with the endpoint.
#' @param endpointName [required] The name of the AgentCore Runtime endpoint to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_agent_runtime_endpoint
bedrockagentcorecontrol_get_agent_runtime_endpoint <- function(agentRuntimeId, endpointName) {
op <- new_operation(
name = "GetAgentRuntimeEndpoint",
http_method = "GET",
http_path = "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_agent_runtime_endpoint_input(agentRuntimeId = agentRuntimeId, endpointName = endpointName)
output <- .bedrockagentcorecontrol$get_agent_runtime_endpoint_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_agent_runtime_endpoint <- bedrockagentcorecontrol_get_agent_runtime_endpoint
#' Retrieves information about an API key credential provider
#'
#' @description
#' Retrieves information about an API key credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_api_key_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_api_key_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the API key credential provider to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_api_key_credential_provider
bedrockagentcorecontrol_get_api_key_credential_provider <- function(name) {
op <- new_operation(
name = "GetApiKeyCredentialProvider",
http_method = "POST",
http_path = "/identities/GetApiKeyCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_api_key_credential_provider_input(name = name)
output <- .bedrockagentcorecontrol$get_api_key_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_api_key_credential_provider <- bedrockagentcorecontrol_get_api_key_credential_provider
#' Gets information about a custom browser
#'
#' @description
#' Gets information about a custom browser.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_browser/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_browser/) for full documentation.
#'
#' @param browserId [required] The unique identifier of the browser to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_browser
bedrockagentcorecontrol_get_browser <- function(browserId) {
op <- new_operation(
name = "GetBrowser",
http_method = "GET",
http_path = "/browsers/{browserId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_browser_input(browserId = browserId)
output <- .bedrockagentcorecontrol$get_browser_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_browser <- bedrockagentcorecontrol_get_browser
#' Gets information about a browser profile
#'
#' @description
#' Gets information about a browser profile.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_browser_profile/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_browser_profile/) for full documentation.
#'
#' @param profileId [required] The unique identifier of the browser profile to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_browser_profile
bedrockagentcorecontrol_get_browser_profile <- function(profileId) {
op <- new_operation(
name = "GetBrowserProfile",
http_method = "GET",
http_path = "/browser-profiles/{profileId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_browser_profile_input(profileId = profileId)
output <- .bedrockagentcorecontrol$get_browser_profile_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_browser_profile <- bedrockagentcorecontrol_get_browser_profile
#' Gets information about a custom code interpreter
#'
#' @description
#' Gets information about a custom code interpreter.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_code_interpreter/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_code_interpreter/) for full documentation.
#'
#' @param codeInterpreterId [required] The unique identifier of the code interpreter to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_code_interpreter
bedrockagentcorecontrol_get_code_interpreter <- function(codeInterpreterId) {
op <- new_operation(
name = "GetCodeInterpreter",
http_method = "GET",
http_path = "/code-interpreters/{codeInterpreterId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_code_interpreter_input(codeInterpreterId = codeInterpreterId)
output <- .bedrockagentcorecontrol$get_code_interpreter_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_code_interpreter <- bedrockagentcorecontrol_get_code_interpreter
#' Gets the latest version of a configuration bundle
#'
#' @description
#' Gets the latest version of a configuration bundle. By default, returns the latest version on the mainline branch. Use [`get_configuration_bundle_version`][bedrockagentcorecontrol_get_configuration_bundle_version] to retrieve a specific historical version.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_configuration_bundle/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_configuration_bundle/) for full documentation.
#'
#' @param bundleId [required] The unique identifier of the configuration bundle to retrieve.
#' @param branchName The branch name to get the latest version from. If not specified, returns the latest version on the mainline branch.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_configuration_bundle
bedrockagentcorecontrol_get_configuration_bundle <- function(bundleId, branchName = NULL) {
op <- new_operation(
name = "GetConfigurationBundle",
http_method = "GET",
http_path = "/configuration-bundles/{bundleId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_configuration_bundle_input(bundleId = bundleId, branchName = branchName)
output <- .bedrockagentcorecontrol$get_configuration_bundle_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_configuration_bundle <- bedrockagentcorecontrol_get_configuration_bundle
#' Gets a specific version of a configuration bundle by its version
#' identifier
#'
#' @description
#' Gets a specific version of a configuration bundle by its version identifier.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_configuration_bundle_version/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_configuration_bundle_version/) for full documentation.
#'
#' @param bundleId [required] The unique identifier of the configuration bundle.
#' @param versionId [required] The version identifier of the configuration bundle version to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_configuration_bundle_version
bedrockagentcorecontrol_get_configuration_bundle_version <- function(bundleId, versionId) {
op <- new_operation(
name = "GetConfigurationBundleVersion",
http_method = "GET",
http_path = "/configuration-bundles/{bundleId}/versions/{versionId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_configuration_bundle_version_input(bundleId = bundleId, versionId = versionId)
output <- .bedrockagentcorecontrol$get_configuration_bundle_version_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_configuration_bundle_version <- bedrockagentcorecontrol_get_configuration_bundle_version
#' Retrieves dataset metadata only
#'
#' @description
#' Retrieves dataset metadata only.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_dataset/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_dataset/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset to retrieve.
#' @param datasetVersion Version to retrieve: "DRAFT" or a version number. Defaults to DRAFT if absent.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_dataset
bedrockagentcorecontrol_get_dataset <- function(datasetId, datasetVersion = NULL) {
op <- new_operation(
name = "GetDataset",
http_method = "GET",
http_path = "/datasets/{datasetId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_dataset_input(datasetId = datasetId, datasetVersion = datasetVersion)
output <- .bedrockagentcorecontrol$get_dataset_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_dataset <- bedrockagentcorecontrol_get_dataset
#' Retrieves detailed information about an evaluator, including its
#' configuration, status, and metadata
#'
#' @description
#' Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_evaluator/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_evaluator/) for full documentation.
#'
#' @param evaluatorId [required] The unique identifier of the evaluator to retrieve. Can be a built-in evaluator ID (e.g., Builtin.Helpfulness) or a custom evaluator ID.
#' @param includedData Controls which data is returned in the response. `ALL_DATA` (default) returns the full evaluator including decrypted instructions and rating scale. For evaluators encrypted with a customer managed KMS key, this requires `kms:Decrypt` permission on the key. `METADATA_ONLY` returns evaluator metadata and model configuration without instructions or rating scale, and does not require any KMS permissions.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_evaluator
bedrockagentcorecontrol_get_evaluator <- function(evaluatorId, includedData = NULL) {
op <- new_operation(
name = "GetEvaluator",
http_method = "GET",
http_path = "/evaluators/{evaluatorId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_evaluator_input(evaluatorId = evaluatorId, includedData = includedData)
output <- .bedrockagentcorecontrol$get_evaluator_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_evaluator <- bedrockagentcorecontrol_get_evaluator
#' Retrieves information about a specific Gateway
#'
#' @description
#' Retrieves information about a specific Gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_gateway/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_gateway/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_gateway
bedrockagentcorecontrol_get_gateway <- function(gatewayIdentifier) {
op <- new_operation(
name = "GetGateway",
http_method = "GET",
http_path = "/gateways/{gatewayIdentifier}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_gateway_input(gatewayIdentifier = gatewayIdentifier)
output <- .bedrockagentcorecontrol$get_gateway_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_gateway <- bedrockagentcorecontrol_get_gateway
#' Retrieves detailed information about a specific gateway rule
#'
#' @description
#' Retrieves detailed information about a specific gateway rule.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_gateway_rule/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_gateway_rule/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway containing the rule.
#' @param ruleId [required] The unique identifier of the rule to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_gateway_rule
bedrockagentcorecontrol_get_gateway_rule <- function(gatewayIdentifier, ruleId) {
op <- new_operation(
name = "GetGatewayRule",
http_method = "GET",
http_path = "/gateways/{gatewayIdentifier}/rules/{ruleId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_gateway_rule_input(gatewayIdentifier = gatewayIdentifier, ruleId = ruleId)
output <- .bedrockagentcorecontrol$get_gateway_rule_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_gateway_rule <- bedrockagentcorecontrol_get_gateway_rule
#' Retrieves information about a specific gateway target
#'
#' @description
#' Retrieves information about a specific gateway target.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_gateway_target/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_gateway_target/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway that contains the target.
#' @param targetId [required] The unique identifier of the target to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_gateway_target
bedrockagentcorecontrol_get_gateway_target <- function(gatewayIdentifier, targetId) {
op <- new_operation(
name = "GetGatewayTarget",
http_method = "GET",
http_path = "/gateways/{gatewayIdentifier}/targets/{targetId}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_gateway_target_input(gatewayIdentifier = gatewayIdentifier, targetId = targetId)
output <- .bedrockagentcorecontrol$get_gateway_target_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_gateway_target <- bedrockagentcorecontrol_get_gateway_target
#' Operation to get a single Harness
#'
#' @description
#' Operation to get a single Harness.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_harness/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_harness/) for full documentation.
#'
#' @param harnessId [required] The ID of the harness to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_harness
bedrockagentcorecontrol_get_harness <- function(harnessId) {
op <- new_operation(
name = "GetHarness",
http_method = "GET",
http_path = "/harnesses/{harnessId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_harness_input(harnessId = harnessId)
output <- .bedrockagentcorecontrol$get_harness_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_harness <- bedrockagentcorecontrol_get_harness
#' Retrieve an existing Amazon Bedrock AgentCore Memory resource
#'
#' @description
#' Retrieve an existing Amazon Bedrock AgentCore Memory resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_memory/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_memory/) for full documentation.
#'
#' @param memoryId [required] The unique identifier of the memory to retrieve.
#' @param view The level of detail to return for the memory.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_memory
bedrockagentcorecontrol_get_memory <- function(memoryId, view = NULL) {
op <- new_operation(
name = "GetMemory",
http_method = "GET",
http_path = "/memories/{memoryId}/details",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_memory_input(memoryId = memoryId, view = view)
output <- .bedrockagentcorecontrol$get_memory_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_memory <- bedrockagentcorecontrol_get_memory
#' Retrieves information about an OAuth2 credential provider
#'
#' @description
#' Retrieves information about an OAuth2 credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_oauth_2_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_oauth_2_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the OAuth2 credential provider to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_oauth_2_credential_provider
bedrockagentcorecontrol_get_oauth_2_credential_provider <- function(name) {
op <- new_operation(
name = "GetOauth2CredentialProvider",
http_method = "POST",
http_path = "/identities/GetOauth2CredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_oauth_2_credential_provider_input(name = name)
output <- .bedrockagentcorecontrol$get_oauth_2_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_oauth_2_credential_provider <- bedrockagentcorecontrol_get_oauth_2_credential_provider
#' Retrieves detailed information about an online evaluation configuration,
#' including its rules, data sources, evaluators, and execution status
#'
#' @description
#' Retrieves detailed information about an online evaluation configuration, including its rules, data sources, evaluators, and execution status.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_online_evaluation_config/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_online_evaluation_config/) for full documentation.
#'
#' @param onlineEvaluationConfigId [required] The unique identifier of the online evaluation configuration to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_online_evaluation_config
bedrockagentcorecontrol_get_online_evaluation_config <- function(onlineEvaluationConfigId) {
op <- new_operation(
name = "GetOnlineEvaluationConfig",
http_method = "GET",
http_path = "/online-evaluation-configs/{onlineEvaluationConfigId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_online_evaluation_config_input(onlineEvaluationConfigId = onlineEvaluationConfigId)
output <- .bedrockagentcorecontrol$get_online_evaluation_config_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_online_evaluation_config <- bedrockagentcorecontrol_get_online_evaluation_config
#' Retrieves information about a specific payment connector
#'
#' @description
#' Retrieves information about a specific payment connector.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_payment_connector/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_payment_connector/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the parent payment manager.
#' @param paymentConnectorId [required] The unique identifier of the payment connector to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_payment_connector
bedrockagentcorecontrol_get_payment_connector <- function(paymentManagerId, paymentConnectorId) {
op <- new_operation(
name = "GetPaymentConnector",
http_method = "GET",
http_path = "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_payment_connector_input(paymentManagerId = paymentManagerId, paymentConnectorId = paymentConnectorId)
output <- .bedrockagentcorecontrol$get_payment_connector_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_payment_connector <- bedrockagentcorecontrol_get_payment_connector
#' Retrieves information about a specific payment credential provider
#'
#' @description
#' Retrieves information about a specific payment credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_payment_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_payment_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the payment credential provider to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_payment_credential_provider
bedrockagentcorecontrol_get_payment_credential_provider <- function(name) {
op <- new_operation(
name = "GetPaymentCredentialProvider",
http_method = "POST",
http_path = "/identities/GetPaymentCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_payment_credential_provider_input(name = name)
output <- .bedrockagentcorecontrol$get_payment_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_payment_credential_provider <- bedrockagentcorecontrol_get_payment_credential_provider
#' Retrieves information about a specific payment manager
#'
#' @description
#' Retrieves information about a specific payment manager.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_payment_manager/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_payment_manager/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the payment manager to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_payment_manager
bedrockagentcorecontrol_get_payment_manager <- function(paymentManagerId) {
op <- new_operation(
name = "GetPaymentManager",
http_method = "GET",
http_path = "/payments/managers/{paymentManagerId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_payment_manager_input(paymentManagerId = paymentManagerId)
output <- .bedrockagentcorecontrol$get_payment_manager_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_payment_manager <- bedrockagentcorecontrol_get_payment_manager
#' Retrieves detailed information about a specific policy within the
#' AgentCore Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy/) for full documentation.
#'
#' @param policyEngineId [required] The identifier of the policy engine that manages the policy to be retrieved.
#' @param policyId [required] The unique identifier of the policy to be retrieved. This must be a valid policy ID that exists within the specified policy engine.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_policy
bedrockagentcorecontrol_get_policy <- function(policyEngineId, policyId) {
op <- new_operation(
name = "GetPolicy",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policies/{policyId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_policy_input(policyEngineId = policyEngineId, policyId = policyId)
output <- .bedrockagentcorecontrol$get_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_policy <- bedrockagentcorecontrol_get_policy
#' Retrieves detailed information about a specific policy engine within the
#' AgentCore Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_engine/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_engine/) for full documentation.
#'
#' @param policyEngineId [required] The unique identifier of the policy engine to be retrieved. This must be a valid policy engine ID that exists within the account.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_policy_engine
bedrockagentcorecontrol_get_policy_engine <- function(policyEngineId) {
op <- new_operation(
name = "GetPolicyEngine",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_policy_engine_input(policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$get_policy_engine_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_policy_engine <- bedrockagentcorecontrol_get_policy_engine
#' Retrieves a metadata-only summary of a specific policy engine without
#' decrypting customer content
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_engine_summary/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_engine_summary/) for full documentation.
#'
#' @param policyEngineId [required] The unique identifier of the policy engine to retrieve the summary for. This must be a valid policy engine ID that exists within the account.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_policy_engine_summary
bedrockagentcorecontrol_get_policy_engine_summary <- function(policyEngineId) {
op <- new_operation(
name = "GetPolicyEngineSummary",
http_method = "GET",
http_path = "/policy-engine-summaries/{policyEngineId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_policy_engine_summary_input(policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$get_policy_engine_summary_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_policy_engine_summary <- bedrockagentcorecontrol_get_policy_engine_summary
#' Retrieves information about a policy generation request within the
#' AgentCore Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_generation/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_generation/) for full documentation.
#'
#' @param policyGenerationId [required] The unique identifier of the policy generation request to be retrieved. This must be a valid generation ID from a previous [`start_policy_generation`][bedrockagentcorecontrol_start_policy_generation] call.
#' @param policyEngineId [required] The identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and schema validation.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_policy_generation
bedrockagentcorecontrol_get_policy_generation <- function(policyGenerationId, policyEngineId) {
op <- new_operation(
name = "GetPolicyGeneration",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-generations/{policyGenerationId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_policy_generation_input(policyGenerationId = policyGenerationId, policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$get_policy_generation_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_policy_generation <- bedrockagentcorecontrol_get_policy_generation
#' Retrieves a metadata-only summary of a specific policy generation
#' request without decrypting customer content
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_generation_summary/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_generation_summary/) for full documentation.
#'
#' @param policyGenerationId [required] The unique identifier of the policy generation request to retrieve the summary for.
#' @param policyEngineId [required] The identifier of the policy engine associated with the policy generation request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_policy_generation_summary
bedrockagentcorecontrol_get_policy_generation_summary <- function(policyGenerationId, policyEngineId) {
op <- new_operation(
name = "GetPolicyGenerationSummary",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-generation-summaries/{policyGenerationId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_policy_generation_summary_input(policyGenerationId = policyGenerationId, policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$get_policy_generation_summary_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_policy_generation_summary <- bedrockagentcorecontrol_get_policy_generation_summary
#' Retrieves a metadata-only summary of a specific policy without
#' decrypting customer content
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_summary/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_policy_summary/) for full documentation.
#'
#' @param policyEngineId [required] The identifier of the policy engine that manages the policy to retrieve the summary for.
#' @param policyId [required] The unique identifier of the policy to retrieve the summary for. This must be a valid policy ID that exists within the specified policy engine.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_policy_summary
bedrockagentcorecontrol_get_policy_summary <- function(policyEngineId, policyId) {
op <- new_operation(
name = "GetPolicySummary",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-summaries/{policyId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_policy_summary_input(policyEngineId = policyEngineId, policyId = policyId)
output <- .bedrockagentcorecontrol$get_policy_summary_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_policy_summary <- bedrockagentcorecontrol_get_policy_summary
#' Retrieves information about a specific registry
#'
#' @description
#' Retrieves information about a specific registry.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_registry/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_registry/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry to retrieve. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_registry
bedrockagentcorecontrol_get_registry <- function(registryId) {
op <- new_operation(
name = "GetRegistry",
http_method = "GET",
http_path = "/registries/{registryId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_registry_input(registryId = registryId)
output <- .bedrockagentcorecontrol$get_registry_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_registry <- bedrockagentcorecontrol_get_registry
#' Retrieves information about a specific registry record
#'
#' @description
#' Retrieves information about a specific registry record.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_registry_record/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_registry_record/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param recordId [required] The identifier of the registry record to retrieve. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_registry_record
bedrockagentcorecontrol_get_registry_record <- function(registryId, recordId) {
op <- new_operation(
name = "GetRegistryRecord",
http_method = "GET",
http_path = "/registries/{registryId}/records/{recordId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_registry_record_input(registryId = registryId, recordId = recordId)
output <- .bedrockagentcorecontrol$get_registry_record_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_registry_record <- bedrockagentcorecontrol_get_registry_record
#' Retrieves the resource-based policy for a specified resource
#'
#' @description
#' Retrieves the resource-based policy for a specified resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_resource_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_resource_policy/) for full documentation.
#'
#' @param resourceArn [required] The Amazon Resource Name (ARN) of the resource for which to retrieve the resource policy.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_resource_policy
bedrockagentcorecontrol_get_resource_policy <- function(resourceArn) {
op <- new_operation(
name = "GetResourcePolicy",
http_method = "GET",
http_path = "/resourcepolicy/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_resource_policy_input(resourceArn = resourceArn)
output <- .bedrockagentcorecontrol$get_resource_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_resource_policy <- bedrockagentcorecontrol_get_resource_policy
#' Retrieves information about a token vault
#'
#' @description
#' Retrieves information about a token vault.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_token_vault/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_token_vault/) for full documentation.
#'
#' @param tokenVaultId The unique identifier of the token vault to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_token_vault
bedrockagentcorecontrol_get_token_vault <- function(tokenVaultId = NULL) {
op <- new_operation(
name = "GetTokenVault",
http_method = "POST",
http_path = "/identities/get-token-vault",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_token_vault_input(tokenVaultId = tokenVaultId)
output <- .bedrockagentcorecontrol$get_token_vault_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_token_vault <- bedrockagentcorecontrol_get_token_vault
#' Retrieves information about a workload identity
#'
#' @description
#' Retrieves information about a workload identity.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_workload_identity/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_get_workload_identity/) for full documentation.
#'
#' @param name [required] The name of the workload identity to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_get_workload_identity
bedrockagentcorecontrol_get_workload_identity <- function(name) {
op <- new_operation(
name = "GetWorkloadIdentity",
http_method = "POST",
http_path = "/identities/GetWorkloadIdentity",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$get_workload_identity_input(name = name)
output <- .bedrockagentcorecontrol$get_workload_identity_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$get_workload_identity <- bedrockagentcorecontrol_get_workload_identity
#' Lists all endpoints for a specific Amazon Secure Agent
#'
#' @description
#' Lists all endpoints for a specific Amazon Secure Agent.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_agent_runtime_endpoints/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_agent_runtime_endpoints/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime to list endpoints for.
#' @param maxResults The maximum number of results to return in the response.
#' @param nextToken A token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_agent_runtime_endpoints
bedrockagentcorecontrol_list_agent_runtime_endpoints <- function(agentRuntimeId, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListAgentRuntimeEndpoints",
http_method = "POST",
http_path = "/runtimes/{agentRuntimeId}/runtime-endpoints/",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "runtimeEndpoints"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_agent_runtime_endpoints_input(agentRuntimeId = agentRuntimeId, maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_agent_runtime_endpoints_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_agent_runtime_endpoints <- bedrockagentcorecontrol_list_agent_runtime_endpoints
#' Lists all versions of a specific Amazon Secure Agent
#'
#' @description
#' Lists all versions of a specific Amazon Secure Agent.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_agent_runtime_versions/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_agent_runtime_versions/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime to list versions for.
#' @param maxResults The maximum number of results to return in the response.
#' @param nextToken A token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_agent_runtime_versions
bedrockagentcorecontrol_list_agent_runtime_versions <- function(agentRuntimeId, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListAgentRuntimeVersions",
http_method = "POST",
http_path = "/runtimes/{agentRuntimeId}/versions/",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "agentRuntimes"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_agent_runtime_versions_input(agentRuntimeId = agentRuntimeId, maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_agent_runtime_versions_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_agent_runtime_versions <- bedrockagentcorecontrol_list_agent_runtime_versions
#' Lists all Amazon Secure Agents in your account
#'
#' @description
#' Lists all Amazon Secure Agents in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_agent_runtimes/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_agent_runtimes/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in the response.
#' @param nextToken A token to retrieve the next page of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_agent_runtimes
bedrockagentcorecontrol_list_agent_runtimes <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListAgentRuntimes",
http_method = "POST",
http_path = "/runtimes/",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "agentRuntimes"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_agent_runtimes_input(maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_agent_runtimes_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_agent_runtimes <- bedrockagentcorecontrol_list_agent_runtimes
#' Lists all API key credential providers in your account
#'
#' @description
#' Lists all API key credential providers in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_api_key_credential_providers/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_api_key_credential_providers/) for full documentation.
#'
#' @param nextToken Pagination token.
#' @param maxResults Maximum number of results to return.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_api_key_credential_providers
bedrockagentcorecontrol_list_api_key_credential_providers <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListApiKeyCredentialProviders",
http_method = "POST",
http_path = "/identities/ListApiKeyCredentialProviders",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "credentialProviders"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_api_key_credential_providers_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_api_key_credential_providers_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_api_key_credential_providers <- bedrockagentcorecontrol_list_api_key_credential_providers
#' Lists all browser profiles in your account
#'
#' @description
#' Lists all browser profiles in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_browser_profiles/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_browser_profiles/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in the response.
#' @param nextToken A token to retrieve the next page of results.
#' @param name The name of the browser profile to filter results by.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_browser_profiles
bedrockagentcorecontrol_list_browser_profiles <- function(maxResults = NULL, nextToken = NULL, name = NULL) {
op <- new_operation(
name = "ListBrowserProfiles",
http_method = "POST",
http_path = "/browser-profiles",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "profileSummaries"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_browser_profiles_input(maxResults = maxResults, nextToken = nextToken, name = name)
output <- .bedrockagentcorecontrol$list_browser_profiles_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_browser_profiles <- bedrockagentcorecontrol_list_browser_profiles
#' Lists all custom browsers in your account
#'
#' @description
#' Lists all custom browsers in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_browsers/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_browsers/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.
#' @param nextToken The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
#' @param type The type of browsers to list. If not specified, all browser types are returned.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_browsers
bedrockagentcorecontrol_list_browsers <- function(maxResults = NULL, nextToken = NULL, type = NULL) {
op <- new_operation(
name = "ListBrowsers",
http_method = "POST",
http_path = "/browsers",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "browserSummaries"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_browsers_input(maxResults = maxResults, nextToken = nextToken, type = type)
output <- .bedrockagentcorecontrol$list_browsers_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_browsers <- bedrockagentcorecontrol_list_browsers
#' Lists all custom code interpreters in your account
#'
#' @description
#' Lists all custom code interpreters in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_code_interpreters/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_code_interpreters/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in the response.
#' @param nextToken A token to retrieve the next page of results.
#' @param type The type of code interpreters to list.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_code_interpreters
bedrockagentcorecontrol_list_code_interpreters <- function(maxResults = NULL, nextToken = NULL, type = NULL) {
op <- new_operation(
name = "ListCodeInterpreters",
http_method = "POST",
http_path = "/code-interpreters",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "codeInterpreterSummaries"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_code_interpreters_input(maxResults = maxResults, nextToken = nextToken, type = type)
output <- .bedrockagentcorecontrol$list_code_interpreters_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_code_interpreters <- bedrockagentcorecontrol_list_code_interpreters
#' Lists all versions of a configuration bundle, with optional filtering by
#' branch name or creation source
#'
#' @description
#' Lists all versions of a configuration bundle, with optional filtering by branch name or creation source.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_configuration_bundle_versions/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_configuration_bundle_versions/) for full documentation.
#'
#' @param bundleId [required] The unique identifier of the configuration bundle to list versions for.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param filter An optional filter for listing versions, including branch name, creation source, and whether to return only the latest version per branch.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_configuration_bundle_versions
bedrockagentcorecontrol_list_configuration_bundle_versions <- function(bundleId, nextToken = NULL, maxResults = NULL, filter = NULL) {
op <- new_operation(
name = "ListConfigurationBundleVersions",
http_method = "POST",
http_path = "/configuration-bundles/{bundleId}/versions",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "versions"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_configuration_bundle_versions_input(bundleId = bundleId, nextToken = nextToken, maxResults = maxResults, filter = filter)
output <- .bedrockagentcorecontrol$list_configuration_bundle_versions_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_configuration_bundle_versions <- bedrockagentcorecontrol_list_configuration_bundle_versions
#' Lists all configuration bundles in the account
#'
#' @description
#' Lists all configuration bundles in the account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_configuration_bundles/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_configuration_bundles/) for full documentation.
#'
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_configuration_bundles
bedrockagentcorecontrol_list_configuration_bundles <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListConfigurationBundles",
http_method = "POST",
http_path = "/configuration-bundles",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "bundles"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_configuration_bundles_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_configuration_bundles_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_configuration_bundles <- bedrockagentcorecontrol_list_configuration_bundles
#' Returns paginated examples from the dataset
#'
#' @description
#' Returns paginated examples from the dataset.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_dataset_examples/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_dataset_examples/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset.
#' @param datasetVersion Version to paginate: "DRAFT" or a version number. Defaults to DRAFT if absent. Only used on the first request (when nextToken is absent). For subsequent pages, the version is extracted from the nextToken and this parameter is ignored.
#' @param maxResults Maximum number of examples to return per page. Default: 1000. Min: 1, max: 1000. Response size is validated against 5 MB limit after reading. For bulk access to all examples, use the `downloadUrl` field from GetDataset.
#' @param nextToken The token for the next page of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_dataset_examples
bedrockagentcorecontrol_list_dataset_examples <- function(datasetId, datasetVersion = NULL, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListDatasetExamples",
http_method = "GET",
http_path = "/datasets/{datasetId}/examples",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "examples"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_dataset_examples_input(datasetId = datasetId, datasetVersion = datasetVersion, maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_dataset_examples_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_dataset_examples <- bedrockagentcorecontrol_list_dataset_examples
#' Lists all published versions of a dataset, sorted by version number
#' descending (newest first)
#'
#' @description
#' Lists all published versions of a dataset, sorted by version number descending (newest first). Does not include the DRAFT working copy.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_dataset_versions/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_dataset_versions/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset.
#' @param nextToken The token for the next page of results.
#' @param maxResults The maximum number of versions to return per page.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_dataset_versions
bedrockagentcorecontrol_list_dataset_versions <- function(datasetId, nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListDatasetVersions",
http_method = "GET",
http_path = "/datasets/{datasetId}/versions",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "versions"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_dataset_versions_input(datasetId = datasetId, nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_dataset_versions_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_dataset_versions <- bedrockagentcorecontrol_list_dataset_versions
#' Lists all datasets in the caller's account, paginated
#'
#' @description
#' Lists all datasets in the caller's account, paginated. No presigned URLs in list results.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_datasets/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_datasets/) for full documentation.
#'
#' @param nextToken The token for the next page of results.
#' @param maxResults The maximum number of datasets to return per page.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_datasets
bedrockagentcorecontrol_list_datasets <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListDatasets",
http_method = "GET",
http_path = "/datasets",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "datasets"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_datasets_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_datasets_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_datasets <- bedrockagentcorecontrol_list_datasets
#' Lists all available evaluators, including both builtin evaluators
#' provided by the service and custom evaluators created by the user
#'
#' @description
#' Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_evaluators/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_evaluators/) for full documentation.
#'
#' @param nextToken The pagination token from a previous request to retrieve the next page of results.
#' @param maxResults The maximum number of evaluators to return in a single response.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_evaluators
bedrockagentcorecontrol_list_evaluators <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListEvaluators",
http_method = "POST",
http_path = "/evaluators",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "evaluators"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_evaluators_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_evaluators_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_evaluators <- bedrockagentcorecontrol_list_evaluators
#' Lists all rules for a gateway
#'
#' @description
#' Lists all rules for a gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_gateway_rules/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_gateway_rules/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to list rules for.
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken The pagination token from a previous request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_gateway_rules
bedrockagentcorecontrol_list_gateway_rules <- function(gatewayIdentifier, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListGatewayRules",
http_method = "GET",
http_path = "/gateways/{gatewayIdentifier}/rules",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "gatewayRules"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_gateway_rules_input(gatewayIdentifier = gatewayIdentifier, maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_gateway_rules_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_gateway_rules <- bedrockagentcorecontrol_list_gateway_rules
#' Lists all targets for a specific gateway
#'
#' @description
#' Lists all targets for a specific gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_gateway_targets/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_gateway_targets/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to list targets for.
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_gateway_targets
bedrockagentcorecontrol_list_gateway_targets <- function(gatewayIdentifier, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListGatewayTargets",
http_method = "GET",
http_path = "/gateways/{gatewayIdentifier}/targets/",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_gateway_targets_input(gatewayIdentifier = gatewayIdentifier, maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_gateway_targets_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_gateway_targets <- bedrockagentcorecontrol_list_gateway_targets
#' Lists all gateways in the account
#'
#' @description
#' Lists all gateways in the account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_gateways/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_gateways/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_gateways
bedrockagentcorecontrol_list_gateways <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListGateways",
http_method = "GET",
http_path = "/gateways/",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "items"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_gateways_input(maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_gateways_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_gateways <- bedrockagentcorecontrol_list_gateways
#' Operation to list Harnesses
#'
#' @description
#' Operation to list Harnesses.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_harnesses/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_harnesses/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in a single call.
#' @param nextToken The token for the next set of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_harnesses
bedrockagentcorecontrol_list_harnesses <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListHarnesses",
http_method = "GET",
http_path = "/harnesses",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "harnesses"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_harnesses_input(maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_harnesses_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_harnesses <- bedrockagentcorecontrol_list_harnesses
#' Lists the available Amazon Bedrock AgentCore Memory resources in the
#' current Amazon Web Services Region
#'
#' @description
#' Lists the available Amazon Bedrock AgentCore Memory resources in the current Amazon Web Services Region.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_memories/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_memories/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in a single call. The default value is 10. The maximum value is 50.
#' @param nextToken The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_memories
bedrockagentcorecontrol_list_memories <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListMemories",
http_method = "POST",
http_path = "/memories/",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "memories"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_memories_input(maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_memories_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_memories <- bedrockagentcorecontrol_list_memories
#' Lists all OAuth2 credential providers in your account
#'
#' @description
#' Lists all OAuth2 credential providers in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_oauth_2_credential_providers/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_oauth_2_credential_providers/) for full documentation.
#'
#' @param nextToken Pagination token.
#' @param maxResults Maximum number of results to return.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_oauth_2_credential_providers
bedrockagentcorecontrol_list_oauth_2_credential_providers <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListOauth2CredentialProviders",
http_method = "POST",
http_path = "/identities/ListOauth2CredentialProviders",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "credentialProviders"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_oauth_2_credential_providers_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_oauth_2_credential_providers_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_oauth_2_credential_providers <- bedrockagentcorecontrol_list_oauth_2_credential_providers
#' Lists all online evaluation configurations in the account, providing
#' summary information about each configuration's status and settings
#'
#' @description
#' Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_online_evaluation_configs/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_online_evaluation_configs/) for full documentation.
#'
#' @param nextToken The pagination token from a previous request to retrieve the next page of results.
#' @param maxResults The maximum number of online evaluation configurations to return in a single response.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_online_evaluation_configs
bedrockagentcorecontrol_list_online_evaluation_configs <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListOnlineEvaluationConfigs",
http_method = "POST",
http_path = "/online-evaluation-configs",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "onlineEvaluationConfigs"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_online_evaluation_configs_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_online_evaluation_configs_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_online_evaluation_configs <- bedrockagentcorecontrol_list_online_evaluation_configs
#' Lists all payment connectors for a specified payment manager
#'
#' @description
#' Lists all payment connectors for a specified payment manager.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_payment_connectors/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_payment_connectors/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the payment manager whose connectors to list.
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_payment_connectors
bedrockagentcorecontrol_list_payment_connectors <- function(paymentManagerId, maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListPaymentConnectors",
http_method = "POST",
http_path = "/payments/managers/{paymentManagerId}/connectors-list",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "paymentConnectors"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_payment_connectors_input(paymentManagerId = paymentManagerId, maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_payment_connectors_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_payment_connectors <- bedrockagentcorecontrol_list_payment_connectors
#' Lists all payment credential providers in the account
#'
#' @description
#' Lists all payment credential providers in the account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_payment_credential_providers/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_payment_credential_providers/) for full documentation.
#'
#' @param nextToken Pagination token.
#' @param maxResults Maximum number of results to return.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_payment_credential_providers
bedrockagentcorecontrol_list_payment_credential_providers <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListPaymentCredentialProviders",
http_method = "POST",
http_path = "/identities/ListPaymentCredentialProviders",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "credentialProviders"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_payment_credential_providers_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_payment_credential_providers_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_payment_credential_providers <- bedrockagentcorecontrol_list_payment_credential_providers
#' Lists all payment managers in the account
#'
#' @description
#' Lists all payment managers in the account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_payment_managers/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_payment_managers/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_payment_managers
bedrockagentcorecontrol_list_payment_managers <- function(maxResults = NULL, nextToken = NULL) {
op <- new_operation(
name = "ListPaymentManagers",
http_method = "POST",
http_path = "/payments/managers-list",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "paymentManagers"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_payment_managers_input(maxResults = maxResults, nextToken = nextToken)
output <- .bedrockagentcorecontrol$list_payment_managers_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_payment_managers <- bedrockagentcorecontrol_list_payment_managers
#' Retrieves a list of policies within the AgentCore Policy engine
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policies/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policies/) for full documentation.
#'
#' @param nextToken A pagination token returned from a previous [`list_policies`][bedrockagentcorecontrol_list_policies] call. Use this token to retrieve the next page of results when the response is paginated.
#' @param maxResults The maximum number of policies to return in a single response. If not specified, the default is 10 policies per page, with a maximum of 100 per page.
#' @param policyEngineId [required] The identifier of the policy engine whose policies to retrieve.
#' @param targetResourceScope Optional filter to list policies that apply to a specific resource scope or resource type. This helps narrow down policy results to those relevant for particular Amazon Web Services resources, agent tools, or operational contexts within the policy engine ecosystem.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policies
bedrockagentcorecontrol_list_policies <- function(nextToken = NULL, maxResults = NULL, policyEngineId, targetResourceScope = NULL) {
op <- new_operation(
name = "ListPolicies",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policies",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policies"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policies_input(nextToken = nextToken, maxResults = maxResults, policyEngineId = policyEngineId, targetResourceScope = targetResourceScope)
output <- .bedrockagentcorecontrol$list_policies_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policies <- bedrockagentcorecontrol_list_policies
#' Retrieves a paginated list of metadata-only policy engine summaries
#' without decrypting customer content
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_engine_summaries/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_engine_summaries/) for full documentation.
#'
#' @param nextToken A pagination token returned from a previous [`list_policy_engine_summaries`][bedrockagentcorecontrol_list_policy_engine_summaries] call. Use this token to retrieve the next page of results when the response is paginated.
#' @param maxResults The maximum number of policy engine summaries to return in a single response.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policy_engine_summaries
bedrockagentcorecontrol_list_policy_engine_summaries <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListPolicyEngineSummaries",
http_method = "GET",
http_path = "/policy-engine-summaries",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policyEngines"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policy_engine_summaries_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_policy_engine_summaries_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policy_engine_summaries <- bedrockagentcorecontrol_list_policy_engine_summaries
#' Retrieves a list of policy engines within the AgentCore Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_engines/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_engines/) for full documentation.
#'
#' @param nextToken A pagination token returned from a previous [`list_policy_engines`][bedrockagentcorecontrol_list_policy_engines] call. Use this token to retrieve the next page of results when the response is paginated.
#' @param maxResults The maximum number of policy engines to return in a single response. If not specified, the default is 10 policy engines per page, with a maximum of 100 per page.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policy_engines
bedrockagentcorecontrol_list_policy_engines <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListPolicyEngines",
http_method = "GET",
http_path = "/policy-engines",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policyEngines"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policy_engines_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_policy_engines_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policy_engines <- bedrockagentcorecontrol_list_policy_engines
#' Retrieves a list of generated policy assets from a policy generation
#' request within the AgentCore Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generation_assets/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generation_assets/) for full documentation.
#'
#' @param policyGenerationId [required] The unique identifier of the policy generation request whose assets are to be retrieved. This must be a valid generation ID from a previous [`start_policy_generation`][bedrockagentcorecontrol_start_policy_generation] call that has completed processing.
#' @param policyEngineId [required] The unique identifier of the policy engine associated with the policy generation request. This provides the context for the generation operation and ensures assets are retrieved from the correct policy engine.
#' @param nextToken A pagination token returned from a previous [`list_policy_generation_assets`][bedrockagentcorecontrol_list_policy_generation_assets] call. Use this token to retrieve the next page of assets when the response is paginated due to large numbers of generated policy options.
#' @param maxResults The maximum number of policy generation assets to return in a single response. If not specified, the default is 10 assets per page, with a maximum of 100 per page. This helps control response size when dealing with policy generations that produce many alternative policy options.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policy_generation_assets
bedrockagentcorecontrol_list_policy_generation_assets <- function(policyGenerationId, policyEngineId, nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListPolicyGenerationAssets",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-generations/{policyGenerationId}/assets",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policyGenerationAssets"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policy_generation_assets_input(policyGenerationId = policyGenerationId, policyEngineId = policyEngineId, nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_policy_generation_assets_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policy_generation_assets <- bedrockagentcorecontrol_list_policy_generation_assets
#' Retrieves a paginated list of metadata-only policy generation summaries
#' within a policy engine without decrypting customer content
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generation_summaries/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generation_summaries/) for full documentation.
#'
#' @param nextToken A pagination token returned from a previous [`list_policy_generation_summaries`][bedrockagentcorecontrol_list_policy_generation_summaries] call. Use this token to retrieve the next page of results when the response is paginated.
#' @param maxResults The maximum number of policy generation summaries to return in a single response.
#' @param policyEngineId [required] The identifier of the policy engine whose policy generation summaries to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policy_generation_summaries
bedrockagentcorecontrol_list_policy_generation_summaries <- function(nextToken = NULL, maxResults = NULL, policyEngineId) {
op <- new_operation(
name = "ListPolicyGenerationSummaries",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-generation-summaries",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policyGenerations"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policy_generation_summaries_input(nextToken = nextToken, maxResults = maxResults, policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$list_policy_generation_summaries_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policy_generation_summaries <- bedrockagentcorecontrol_list_policy_generation_summaries
#' Retrieves a list of policy generation requests within the AgentCore
#' Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generations/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_generations/) for full documentation.
#'
#' @param nextToken A pagination token for retrieving additional policy generations when results are paginated.
#' @param maxResults The maximum number of policy generations to return in a single response.
#' @param policyEngineId [required] The identifier of the policy engine whose policy generations to retrieve.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policy_generations
bedrockagentcorecontrol_list_policy_generations <- function(nextToken = NULL, maxResults = NULL, policyEngineId) {
op <- new_operation(
name = "ListPolicyGenerations",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-generations",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policyGenerations"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policy_generations_input(nextToken = nextToken, maxResults = maxResults, policyEngineId = policyEngineId)
output <- .bedrockagentcorecontrol$list_policy_generations_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policy_generations <- bedrockagentcorecontrol_list_policy_generations
#' Retrieves a paginated list of metadata-only policy summaries within a
#' policy engine without decrypting customer content
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_summaries/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_policy_summaries/) for full documentation.
#'
#' @param nextToken A pagination token returned from a previous [`list_policy_summaries`][bedrockagentcorecontrol_list_policy_summaries] call. Use this token to retrieve the next page of results when the response is paginated.
#' @param maxResults The maximum number of policy summaries to return in a single response.
#' @param policyEngineId [required] The identifier of the policy engine whose policy summaries to retrieve.
#' @param targetResourceScope Optional filter to list policy summaries that apply to a specific resource scope or resource type. This helps narrow down results to those relevant for particular Amazon Web Services resources, agent tools, or operational contexts within the policy engine ecosystem.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_policy_summaries
bedrockagentcorecontrol_list_policy_summaries <- function(nextToken = NULL, maxResults = NULL, policyEngineId, targetResourceScope = NULL) {
op <- new_operation(
name = "ListPolicySummaries",
http_method = "GET",
http_path = "/policy-engines/{policyEngineId}/policy-summaries",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "policies"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_policy_summaries_input(nextToken = nextToken, maxResults = maxResults, policyEngineId = policyEngineId, targetResourceScope = targetResourceScope)
output <- .bedrockagentcorecontrol$list_policy_summaries_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_policy_summaries <- bedrockagentcorecontrol_list_policy_summaries
#' Lists all registries in the account
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_registries/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_registries/) for full documentation.
#'
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#' @param status Filter registries by their current status. Possible values include `CREATING`, `READY`, `UPDATING`, `CREATE_FAILED`, `UPDATE_FAILED`, `DELETING`, and `DELETE_FAILED`.
#' @param authorizerType Filter registries by their authorizer type. Possible values are `CUSTOM_JWT` and `AWS_IAM`. For more information about authorizer types, see the `RegistryAuthorizerType` enum.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_registries
bedrockagentcorecontrol_list_registries <- function(maxResults = NULL, nextToken = NULL, status = NULL, authorizerType = NULL) {
op <- new_operation(
name = "ListRegistries",
http_method = "GET",
http_path = "/registries",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "registries"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_registries_input(maxResults = maxResults, nextToken = nextToken, status = status, authorizerType = authorizerType)
output <- .bedrockagentcorecontrol$list_registries_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_registries <- bedrockagentcorecontrol_list_registries
#' Lists registry records within a registry
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_registry_records/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_registry_records/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry to list records from. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param maxResults The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the `nextToken` field when making another request to return the next batch of results.
#' @param nextToken If the total number of results is greater than the `maxResults` value provided in the request, enter the token returned in the `nextToken` field in the response in this field to return the next batch of results.
#' @param name Filter registry records by name.
#' @param status Filter registry records by their current status. Possible values include `CREATING`, `DRAFT`, `APPROVED`, `PENDING_APPROVAL`, `REJECTED`, `DEPRECATED`, `UPDATING`, `CREATE_FAILED`, and `UPDATE_FAILED`.
#' @param descriptorType Filter registry records by their descriptor type. Possible values are `MCP`, `A2A`, `CUSTOM`, and `AGENT_SKILLS`.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_registry_records
bedrockagentcorecontrol_list_registry_records <- function(registryId, maxResults = NULL, nextToken = NULL, name = NULL, status = NULL, descriptorType = NULL) {
op <- new_operation(
name = "ListRegistryRecords",
http_method = "GET",
http_path = "/registries/{registryId}/records",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "registryRecords"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_registry_records_input(registryId = registryId, maxResults = maxResults, nextToken = nextToken, name = name, status = status, descriptorType = descriptorType)
output <- .bedrockagentcorecontrol$list_registry_records_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_registry_records <- bedrockagentcorecontrol_list_registry_records
#' Lists the tags associated with the specified resource
#'
#' @description
#' Lists the tags associated with the specified resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_tags_for_resource/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_tags_for_resource/) for full documentation.
#'
#' @param resourceArn [required] The Amazon Resource Name (ARN) of the resource for which you want to list tags.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_tags_for_resource
bedrockagentcorecontrol_list_tags_for_resource <- function(resourceArn) {
op <- new_operation(
name = "ListTagsForResource",
http_method = "GET",
http_path = "/tags/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_tags_for_resource_input(resourceArn = resourceArn)
output <- .bedrockagentcorecontrol$list_tags_for_resource_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_tags_for_resource <- bedrockagentcorecontrol_list_tags_for_resource
#' Lists all workload identities in your account
#'
#' @description
#' Lists all workload identities in your account.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_workload_identities/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_list_workload_identities/) for full documentation.
#'
#' @param nextToken Pagination token.
#' @param maxResults Maximum number of results to return.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_list_workload_identities
bedrockagentcorecontrol_list_workload_identities <- function(nextToken = NULL, maxResults = NULL) {
op <- new_operation(
name = "ListWorkloadIdentities",
http_method = "POST",
http_path = "/identities/ListWorkloadIdentities",
host_prefix = "",
paginator = list(input_token = "nextToken", output_token = "nextToken", limit_key = "maxResults", result_key = "workloadIdentities"),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$list_workload_identities_input(nextToken = nextToken, maxResults = maxResults)
output <- .bedrockagentcorecontrol$list_workload_identities_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$list_workload_identities <- bedrockagentcorecontrol_list_workload_identities
#' Creates or updates a resource-based policy for a resource with the
#' specified resourceArn
#'
#' @description
#' Creates or updates a resource-based policy for a resource with the specified resourceArn.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_put_resource_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_put_resource_policy/) for full documentation.
#'
#' @param resourceArn [required] The Amazon Resource Name (ARN) of the resource for which to create or update the resource policy.
#' @param policy [required] The resource policy to create or update.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_put_resource_policy
bedrockagentcorecontrol_put_resource_policy <- function(resourceArn, policy) {
op <- new_operation(
name = "PutResourcePolicy",
http_method = "PUT",
http_path = "/resourcepolicy/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$put_resource_policy_input(resourceArn = resourceArn, policy = policy)
output <- .bedrockagentcorecontrol$put_resource_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$put_resource_policy <- bedrockagentcorecontrol_put_resource_policy
#' Sets the customer master key (CMK) for a token vault
#'
#' @description
#' Sets the customer master key (CMK) for a token vault.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_set_token_vault_cmk/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_set_token_vault_cmk/) for full documentation.
#'
#' @param tokenVaultId The unique identifier of the token vault to update.
#' @param kmsConfiguration [required] The KMS configuration for the token vault, including the key type and KMS key ARN.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_set_token_vault_cmk
bedrockagentcorecontrol_set_token_vault_cmk <- function(tokenVaultId = NULL, kmsConfiguration) {
op <- new_operation(
name = "SetTokenVaultCMK",
http_method = "POST",
http_path = "/identities/set-token-vault-cmk",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$set_token_vault_cmk_input(tokenVaultId = tokenVaultId, kmsConfiguration = kmsConfiguration)
output <- .bedrockagentcorecontrol$set_token_vault_cmk_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$set_token_vault_cmk <- bedrockagentcorecontrol_set_token_vault_cmk
#' Initiates the AI-powered generation of Cedar policies from natural
#' language descriptions within the AgentCore Policy system
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_start_policy_generation/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_start_policy_generation/) for full documentation.
#'
#' @param policyEngineId [required] The identifier of the policy engine that provides the context for policy generation. This engine's schema and tool context are used to ensure generated policies are valid and applicable.
#' @param resource [required] The resource information that provides context for policy generation. This helps the AI understand the target resources and generate appropriate access control rules.
#' @param content [required] The natural language description of the desired policy behavior. This content is processed by AI to generate corresponding Cedar policy statements that match the described intent.
#' @param name [required] A customer-assigned name for the policy generation request. This helps track and identify generation operations, especially when running multiple generations simultaneously.
#' @param clientToken A unique, case-sensitive identifier to ensure the idempotency of the request. The AWS SDK automatically generates this token, so you don't need to provide it in most cases. If you retry a request with the same client token, the service returns the same response without starting a duplicate generation.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_start_policy_generation
bedrockagentcorecontrol_start_policy_generation <- function(policyEngineId, resource, content, name, clientToken = NULL) {
op <- new_operation(
name = "StartPolicyGeneration",
http_method = "POST",
http_path = "/policy-engines/{policyEngineId}/policy-generations",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$start_policy_generation_input(policyEngineId = policyEngineId, resource = resource, content = content, name = name, clientToken = clientToken)
output <- .bedrockagentcorecontrol$start_policy_generation_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$start_policy_generation <- bedrockagentcorecontrol_start_policy_generation
#' Submits a registry record for approval
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_submit_registry_record_for_approval/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_submit_registry_record_for_approval/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param recordId [required] The identifier of the registry record to submit for approval. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_submit_registry_record_for_approval
bedrockagentcorecontrol_submit_registry_record_for_approval <- function(registryId, recordId) {
op <- new_operation(
name = "SubmitRegistryRecordForApproval",
http_method = "POST",
http_path = "/registries/{registryId}/records/{recordId}/submit-for-approval",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$submit_registry_record_for_approval_input(registryId = registryId, recordId = recordId)
output <- .bedrockagentcorecontrol$submit_registry_record_for_approval_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$submit_registry_record_for_approval <- bedrockagentcorecontrol_submit_registry_record_for_approval
#' Synchronizes the gateway targets by fetching the latest tool definitions
#' from the target endpoints
#'
#' @description
#' Synchronizes the gateway targets by fetching the latest tool definitions from the target endpoints.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_synchronize_gateway_targets/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_synchronize_gateway_targets/) for full documentation.
#'
#' @param gatewayIdentifier [required] The gateway Identifier.
#' @param targetIdList [required] The target ID list.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_synchronize_gateway_targets
bedrockagentcorecontrol_synchronize_gateway_targets <- function(gatewayIdentifier, targetIdList) {
op <- new_operation(
name = "SynchronizeGatewayTargets",
http_method = "PUT",
http_path = "/gateways/{gatewayIdentifier}/synchronizeTargets",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$synchronize_gateway_targets_input(gatewayIdentifier = gatewayIdentifier, targetIdList = targetIdList)
output <- .bedrockagentcorecontrol$synchronize_gateway_targets_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$synchronize_gateway_targets <- bedrockagentcorecontrol_synchronize_gateway_targets
#' Associates the specified tags to a resource with the specified
#' resourceArn
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_tag_resource/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_tag_resource/) for full documentation.
#'
#' @param resourceArn [required] The Amazon Resource Name (ARN) of the resource that you want to tag.
#' @param tags [required] The tags to add to the resource. A tag is a key-value pair.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_tag_resource
bedrockagentcorecontrol_tag_resource <- function(resourceArn, tags) {
op <- new_operation(
name = "TagResource",
http_method = "POST",
http_path = "/tags/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$tag_resource_input(resourceArn = resourceArn, tags = tags)
output <- .bedrockagentcorecontrol$tag_resource_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$tag_resource <- bedrockagentcorecontrol_tag_resource
#' Removes the specified tags from the specified resource
#'
#' @description
#' Removes the specified tags from the specified resource.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_untag_resource/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_untag_resource/) for full documentation.
#'
#' @param resourceArn [required] The Amazon Resource Name (ARN) of the resource that you want to untag.
#' @param tagKeys [required] The tag keys of the tags to remove from the resource.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_untag_resource
bedrockagentcorecontrol_untag_resource <- function(resourceArn, tagKeys) {
op <- new_operation(
name = "UntagResource",
http_method = "DELETE",
http_path = "/tags/{resourceArn}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$untag_resource_input(resourceArn = resourceArn, tagKeys = tagKeys)
output <- .bedrockagentcorecontrol$untag_resource_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$untag_resource <- bedrockagentcorecontrol_untag_resource
#' Updates an existing Amazon Secure Agent
#'
#' @description
#' Updates an existing Amazon Secure Agent.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_agent_runtime/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_agent_runtime/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime to update.
#' @param agentRuntimeArtifact [required] The updated artifact of the AgentCore Runtime.
#' @param roleArn [required] The updated IAM role ARN that provides permissions for the AgentCore Runtime.
#' @param networkConfiguration [required] The updated network configuration for the AgentCore Runtime.
#' @param description The updated description of the AgentCore Runtime.
#' @param authorizerConfiguration The updated authorizer configuration for the AgentCore Runtime.
#' @param requestHeaderConfiguration The updated configuration for HTTP request headers that will be passed through to the runtime.
#' @param protocolConfiguration The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.
#' @param lifecycleConfiguration The updated life cycle configuration for the AgentCore Runtime.
#' @param metadataConfiguration The updated configuration for microVM Metadata Service (MMDS) settings for the AgentCore Runtime.
#' @param environmentVariables Updated environment variables to set in the AgentCore Runtime environment.
#' @param filesystemConfigurations The updated filesystem configurations to mount into the AgentCore Runtime.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_agent_runtime
bedrockagentcorecontrol_update_agent_runtime <- function(agentRuntimeId, agentRuntimeArtifact, roleArn, networkConfiguration, description = NULL, authorizerConfiguration = NULL, requestHeaderConfiguration = NULL, protocolConfiguration = NULL, lifecycleConfiguration = NULL, metadataConfiguration = NULL, environmentVariables = NULL, filesystemConfigurations = NULL, clientToken = NULL) {
op <- new_operation(
name = "UpdateAgentRuntime",
http_method = "PUT",
http_path = "/runtimes/{agentRuntimeId}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_agent_runtime_input(agentRuntimeId = agentRuntimeId, agentRuntimeArtifact = agentRuntimeArtifact, roleArn = roleArn, networkConfiguration = networkConfiguration, description = description, authorizerConfiguration = authorizerConfiguration, requestHeaderConfiguration = requestHeaderConfiguration, protocolConfiguration = protocolConfiguration, lifecycleConfiguration = lifecycleConfiguration, metadataConfiguration = metadataConfiguration, environmentVariables = environmentVariables, filesystemConfigurations = filesystemConfigurations, clientToken = clientToken)
output <- .bedrockagentcorecontrol$update_agent_runtime_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_agent_runtime <- bedrockagentcorecontrol_update_agent_runtime
#' Updates an existing Amazon Bedrock AgentCore Runtime endpoint
#'
#' @description
#' Updates an existing Amazon Bedrock AgentCore Runtime endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_agent_runtime_endpoint/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_agent_runtime_endpoint/) for full documentation.
#'
#' @param agentRuntimeId [required] The unique identifier of the AgentCore Runtime associated with the endpoint.
#' @param endpointName [required] The name of the AgentCore Runtime endpoint to update.
#' @param agentRuntimeVersion The updated version of the AgentCore Runtime for the endpoint.
#' @param description The updated description of the AgentCore Runtime endpoint.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_agent_runtime_endpoint
bedrockagentcorecontrol_update_agent_runtime_endpoint <- function(agentRuntimeId, endpointName, agentRuntimeVersion = NULL, description = NULL, clientToken = NULL) {
op <- new_operation(
name = "UpdateAgentRuntimeEndpoint",
http_method = "PUT",
http_path = "/runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_agent_runtime_endpoint_input(agentRuntimeId = agentRuntimeId, endpointName = endpointName, agentRuntimeVersion = agentRuntimeVersion, description = description, clientToken = clientToken)
output <- .bedrockagentcorecontrol$update_agent_runtime_endpoint_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_agent_runtime_endpoint <- bedrockagentcorecontrol_update_agent_runtime_endpoint
#' Updates an existing API key credential provider
#'
#' @description
#' Updates an existing API key credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_api_key_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_api_key_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the API key credential provider to update.
#' @param apiKey [required] The new API key to use for authentication. This value replaces the existing API key and is encrypted and stored securely.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_api_key_credential_provider
bedrockagentcorecontrol_update_api_key_credential_provider <- function(name, apiKey) {
op <- new_operation(
name = "UpdateApiKeyCredentialProvider",
http_method = "POST",
http_path = "/identities/UpdateApiKeyCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_api_key_credential_provider_input(name = name, apiKey = apiKey)
output <- .bedrockagentcorecontrol$update_api_key_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_api_key_credential_provider <- bedrockagentcorecontrol_update_api_key_credential_provider
#' Updates a configuration bundle by creating a new version with the
#' specified changes
#'
#' @description
#' Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_configuration_bundle/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_configuration_bundle/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param bundleId [required] The unique identifier of the configuration bundle to update.
#' @param bundleName The updated name for the configuration bundle.
#' @param description The updated description for the configuration bundle.
#' @param components The updated component configurations. Creates a new version of the bundle.
#' @param parentVersionIds A list of parent version identifiers for lineage tracking. Regular commits have a single parent. Merge commits have two parents: the target branch parent and the source branch parent. If the branch already exists, the first parent must be the latest version on that branch.
#' @param branchName The branch name for this version. If not specified, inherits the parent's branch or defaults to `mainline`.
#' @param commitMessage A commit message describing the changes in this version.
#' @param createdBy The source that created this version, including the source name and optional ARN.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_configuration_bundle
bedrockagentcorecontrol_update_configuration_bundle <- function(clientToken = NULL, bundleId, bundleName = NULL, description = NULL, components = NULL, parentVersionIds = NULL, branchName = NULL, commitMessage = NULL, createdBy = NULL) {
op <- new_operation(
name = "UpdateConfigurationBundle",
http_method = "PUT",
http_path = "/configuration-bundles/{bundleId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_configuration_bundle_input(clientToken = clientToken, bundleId = bundleId, bundleName = bundleName, description = description, components = components, parentVersionIds = parentVersionIds, branchName = branchName, commitMessage = commitMessage, createdBy = createdBy)
output <- .bedrockagentcorecontrol$update_configuration_bundle_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_configuration_bundle <- bedrockagentcorecontrol_update_configuration_bundle
#' Updates a dataset's metadata
#'
#' @description
#' Updates a dataset's metadata. Synchronous operation. Only provided fields are updated; omitted fields remain unchanged.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_dataset/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_dataset/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset to update.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param description The updated description for the dataset.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_dataset
bedrockagentcorecontrol_update_dataset <- function(datasetId, clientToken = NULL, description = NULL) {
op <- new_operation(
name = "UpdateDataset",
http_method = "PUT",
http_path = "/datasets/{datasetId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_dataset_input(datasetId = datasetId, clientToken = clientToken, description = description)
output <- .bedrockagentcorecontrol$update_dataset_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_dataset <- bedrockagentcorecontrol_update_dataset
#' Updates multiple existing examples in-place on DRAFT
#'
#' @description
#' Updates multiple existing examples in-place on DRAFT.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_dataset_examples/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_dataset_examples/) for full documentation.
#'
#' @param datasetId [required] The unique identifier of the dataset.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param examples [required] Examples to update. Each element is a JSON object containing a required `exampleId` string field identifying the existing example, plus the replacement fields. The `exampleId` is extracted and removed before persistence; the remaining document is validated against the dataset's schemaType. Max 1000 examples per call. Total request body must not exceed 5 MB.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_dataset_examples
bedrockagentcorecontrol_update_dataset_examples <- function(datasetId, clientToken = NULL, examples) {
op <- new_operation(
name = "UpdateDatasetExamples",
http_method = "POST",
http_path = "/datasets/{datasetId}/examples/update",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_dataset_examples_input(datasetId = datasetId, clientToken = clientToken, examples = examples)
output <- .bedrockagentcorecontrol$update_dataset_examples_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_dataset_examples <- bedrockagentcorecontrol_update_dataset_examples
#' Updates a custom evaluator's configuration, description, or evaluation
#' level
#'
#' @description
#' Updates a custom evaluator's configuration, description, or evaluation level. Built-in evaluators cannot be updated. The evaluator must not be locked for modification.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_evaluator/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_evaluator/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param evaluatorId [required] The unique identifier of the evaluator to update.
#' @param description The updated description of the evaluator.
#' @param evaluatorConfig The updated configuration for the evaluator. Specify either LLM-as-a-Judge settings with instructions, rating scale, and model configuration, or code-based settings with a customer-managed Lambda function.
#' @param level The updated evaluation level (`TOOL_CALL`, `TRACE`, or `SESSION`) that determines the scope of evaluation.
#' @param kmsKeyArn The Amazon Resource Name (ARN) of a customer managed KMS key to use for encrypting sensitive evaluator data. Specify a new key ARN to rotate the encryption key, or specify a key ARN to add encryption to an evaluator that was previously created without one. When you rotate to a new key, the service decrypts the existing data with the old key and re-encrypts it with the new key. Only symmetric encryption KMS keys are supported. For more information, see [Encryption at rest for AgentCore Evaluations](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/evaluations-encryption.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_evaluator
bedrockagentcorecontrol_update_evaluator <- function(clientToken = NULL, evaluatorId, description = NULL, evaluatorConfig = NULL, level = NULL, kmsKeyArn = NULL) {
op <- new_operation(
name = "UpdateEvaluator",
http_method = "PUT",
http_path = "/evaluators/{evaluatorId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_evaluator_input(clientToken = clientToken, evaluatorId = evaluatorId, description = description, evaluatorConfig = evaluatorConfig, level = level, kmsKeyArn = kmsKeyArn)
output <- .bedrockagentcorecontrol$update_evaluator_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_evaluator <- bedrockagentcorecontrol_update_evaluator
#' Updates an existing gateway
#'
#' @description
#' Updates an existing gateway.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_gateway/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_gateway/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway to update.
#' @param name [required] The name of the gateway. This name must be the same as the one when the gateway was created.
#' @param description The updated description for the gateway.
#' @param roleArn [required] The updated IAM role ARN that provides permissions for the gateway.
#' @param protocolType The updated protocol type for the gateway.
#' @param protocolConfiguration The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.
#' @param authorizerType [required] The updated authorizer type for the gateway.
#' @param authorizerConfiguration The updated authorizer configuration for the gateway.
#' @param kmsKeyArn The updated ARN of the KMS key used to encrypt the gateway.
#' @param interceptorConfigurations The updated interceptor configurations for the gateway.
#' @param policyEngineConfiguration The updated policy engine configuration for the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
#' @param exceptionLevel The level of detail in error messages returned when invoking the gateway.
#'
#' - If the value is `DEBUG`, granular exception messages are returned to help a user debug the gateway.
#'
#' - If the value is omitted, a generic error message is returned to the end user.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_gateway
bedrockagentcorecontrol_update_gateway <- function(gatewayIdentifier, name, description = NULL, roleArn, protocolType = NULL, protocolConfiguration = NULL, authorizerType, authorizerConfiguration = NULL, kmsKeyArn = NULL, interceptorConfigurations = NULL, policyEngineConfiguration = NULL, exceptionLevel = NULL) {
op <- new_operation(
name = "UpdateGateway",
http_method = "PUT",
http_path = "/gateways/{gatewayIdentifier}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_gateway_input(gatewayIdentifier = gatewayIdentifier, name = name, description = description, roleArn = roleArn, protocolType = protocolType, protocolConfiguration = protocolConfiguration, authorizerType = authorizerType, authorizerConfiguration = authorizerConfiguration, kmsKeyArn = kmsKeyArn, interceptorConfigurations = interceptorConfigurations, policyEngineConfiguration = policyEngineConfiguration, exceptionLevel = exceptionLevel)
output <- .bedrockagentcorecontrol$update_gateway_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_gateway <- bedrockagentcorecontrol_update_gateway
#' Updates a gateway rule's priority, conditions, actions, or description
#'
#' @description
#' Updates a gateway rule's priority, conditions, actions, or description.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_gateway_rule/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_gateway_rule/) for full documentation.
#'
#' @param gatewayIdentifier [required] The identifier of the gateway containing the rule.
#' @param ruleId [required] The unique identifier of the rule to update.
#' @param priority The updated priority of the rule.
#' @param conditions The updated conditions for the rule.
#' @param actions The updated actions for the rule.
#' @param description The updated description of the rule.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_gateway_rule
bedrockagentcorecontrol_update_gateway_rule <- function(gatewayIdentifier, ruleId, priority = NULL, conditions = NULL, actions = NULL, description = NULL) {
op <- new_operation(
name = "UpdateGatewayRule",
http_method = "PATCH",
http_path = "/gateways/{gatewayIdentifier}/rules/{ruleId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_gateway_rule_input(gatewayIdentifier = gatewayIdentifier, ruleId = ruleId, priority = priority, conditions = conditions, actions = actions, description = description)
output <- .bedrockagentcorecontrol$update_gateway_rule_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_gateway_rule <- bedrockagentcorecontrol_update_gateway_rule
#' Updates an existing gateway target
#'
#' @description
#' Updates an existing gateway target.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_gateway_target/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_gateway_target/) for full documentation.
#'
#' @param gatewayIdentifier [required] The unique identifier of the gateway associated with the target.
#' @param targetId [required] The unique identifier of the gateway target to update.
#' @param name [required] The updated name for the gateway target.
#' @param description The updated description for the gateway target.
#' @param targetConfiguration [required] The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
#' @param credentialProviderConfigurations The updated credential provider configurations for the gateway target.
#' @param metadataConfiguration Configuration for HTTP header and query parameter propagation to the gateway target.
#' @param privateEndpoint The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_gateway_target
bedrockagentcorecontrol_update_gateway_target <- function(gatewayIdentifier, targetId, name, description = NULL, targetConfiguration, credentialProviderConfigurations = NULL, metadataConfiguration = NULL, privateEndpoint = NULL) {
op <- new_operation(
name = "UpdateGatewayTarget",
http_method = "PUT",
http_path = "/gateways/{gatewayIdentifier}/targets/{targetId}/",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_gateway_target_input(gatewayIdentifier = gatewayIdentifier, targetId = targetId, name = name, description = description, targetConfiguration = targetConfiguration, credentialProviderConfigurations = credentialProviderConfigurations, metadataConfiguration = metadataConfiguration, privateEndpoint = privateEndpoint)
output <- .bedrockagentcorecontrol$update_gateway_target_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_gateway_target <- bedrockagentcorecontrol_update_gateway_target
#' Operation to update a Harness
#'
#' @description
#' Operation to update a Harness.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_harness/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_harness/) for full documentation.
#'
#' @param harnessId [required] The ID of the harness to update.
#' @param clientToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param executionRoleArn The ARN of the IAM role that the harness assumes when running. If not specified, the existing value is retained.
#' @param environment The compute environment configuration for the harness. If not specified, the existing value is retained.
#' @param environmentArtifact The environment artifact for the harness. Use the optionalValue wrapper to set a new value, or set it to null to clear the existing configuration.
#' @param environmentVariables Environment variables to set in the harness runtime environment. If specified, this replaces all existing environment variables. If not specified, the existing value is retained.
#' @param authorizerConfiguration Wrapper for updating an optional AuthorizerConfiguration field with PATCH semantics. When present in an update request, the authorizer configuration is replaced with optionalValue. When absent, the authorizer configuration is left unchanged. To unset, include the wrapper with optionalValue not specified.
#' @param model The model configuration for the harness. If not specified, the existing value is retained.
#' @param systemPrompt The system prompt that defines the agent's behavior. If not specified, the existing value is retained.
#' @param tools The tools available to the agent. If specified, this replaces all existing tools. If not specified, the existing value is retained.
#' @param skills The skills available to the agent. If specified, this replaces all existing skills. If not specified, the existing value is retained.
#' @param allowedTools The tools that the agent is allowed to use. If specified, this replaces all existing allowed tools. If not specified, the existing value is retained.
#' @param memory The AgentCore Memory configuration. Use the optionalValue wrapper to set a new value, or set it to null to clear the existing configuration.
#' @param truncation The truncation configuration for managing conversation context. If not specified, the existing value is retained.
#' @param maxIterations The maximum number of iterations the agent loop can execute per invocation. If not specified, the existing value is retained.
#' @param maxTokens The maximum total number of output tokens the agent can generate across all model calls within a single invocation. If not specified, the existing value is retained.
#' @param timeoutSeconds The maximum duration in seconds for the agent loop execution per invocation. If not specified, the existing value is retained.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_harness
bedrockagentcorecontrol_update_harness <- function(harnessId, clientToken = NULL, executionRoleArn = NULL, environment = NULL, environmentArtifact = NULL, environmentVariables = NULL, authorizerConfiguration = NULL, model = NULL, systemPrompt = NULL, tools = NULL, skills = NULL, allowedTools = NULL, memory = NULL, truncation = NULL, maxIterations = NULL, maxTokens = NULL, timeoutSeconds = NULL) {
op <- new_operation(
name = "UpdateHarness",
http_method = "PATCH",
http_path = "/harnesses/{harnessId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_harness_input(harnessId = harnessId, clientToken = clientToken, executionRoleArn = executionRoleArn, environment = environment, environmentArtifact = environmentArtifact, environmentVariables = environmentVariables, authorizerConfiguration = authorizerConfiguration, model = model, systemPrompt = systemPrompt, tools = tools, skills = skills, allowedTools = allowedTools, memory = memory, truncation = truncation, maxIterations = maxIterations, maxTokens = maxTokens, timeoutSeconds = timeoutSeconds)
output <- .bedrockagentcorecontrol$update_harness_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_harness <- bedrockagentcorecontrol_update_harness
#' Update an Amazon Bedrock AgentCore Memory resource memory
#'
#' @description
#' Update an Amazon Bedrock AgentCore Memory resource memory.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_memory/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_memory/) for full documentation.
#'
#' @param clientToken A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.
#' @param memoryId [required] The unique identifier of the memory to update.
#' @param description The updated description of the AgentCore Memory resource.
#' @param eventExpiryDuration The number of days after which memory events will expire, between 7 and 365 days.
#' @param memoryExecutionRoleArn The ARN of the IAM role that provides permissions for the AgentCore Memory resource.
#' @param memoryStrategies The memory strategies to add, modify, or delete.
#' @param addIndexedKeys Additional metadata keys to index. Previously indexed keys cannot be removed.
#' @param streamDeliveryResources Configuration for streaming memory record data to external resources.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_memory
bedrockagentcorecontrol_update_memory <- function(clientToken = NULL, memoryId, description = NULL, eventExpiryDuration = NULL, memoryExecutionRoleArn = NULL, memoryStrategies = NULL, addIndexedKeys = NULL, streamDeliveryResources = NULL) {
op <- new_operation(
name = "UpdateMemory",
http_method = "PUT",
http_path = "/memories/{memoryId}/update",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_memory_input(clientToken = clientToken, memoryId = memoryId, description = description, eventExpiryDuration = eventExpiryDuration, memoryExecutionRoleArn = memoryExecutionRoleArn, memoryStrategies = memoryStrategies, addIndexedKeys = addIndexedKeys, streamDeliveryResources = streamDeliveryResources)
output <- .bedrockagentcorecontrol$update_memory_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_memory <- bedrockagentcorecontrol_update_memory
#' Updates an existing OAuth2 credential provider
#'
#' @description
#' Updates an existing OAuth2 credential provider.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_oauth_2_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_oauth_2_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the OAuth2 credential provider to update.
#' @param credentialProviderVendor [required] The vendor of the OAuth2 credential provider.
#' @param oauth2ProviderConfigInput [required] The configuration input for the OAuth2 provider.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_oauth_2_credential_provider
bedrockagentcorecontrol_update_oauth_2_credential_provider <- function(name, credentialProviderVendor, oauth2ProviderConfigInput) {
op <- new_operation(
name = "UpdateOauth2CredentialProvider",
http_method = "POST",
http_path = "/identities/UpdateOauth2CredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_oauth_2_credential_provider_input(name = name, credentialProviderVendor = credentialProviderVendor, oauth2ProviderConfigInput = oauth2ProviderConfigInput)
output <- .bedrockagentcorecontrol$update_oauth_2_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_oauth_2_credential_provider <- bedrockagentcorecontrol_update_oauth_2_credential_provider
#' Updates an online evaluation configuration's settings, including rules,
#' data sources, evaluators, and execution status
#'
#' @description
#' Updates an online evaluation configuration's settings, including rules, data sources, evaluators, and execution status. Changes take effect immediately for ongoing evaluations.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_online_evaluation_config/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_online_evaluation_config/) for full documentation.
#'
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#' @param onlineEvaluationConfigId [required] The unique identifier of the online evaluation configuration to update.
#' @param description The updated description of the online evaluation configuration.
#' @param rule The updated evaluation rule containing sampling configuration, filters, and session settings.
#' @param dataSourceConfig The updated data source configuration specifying CloudWatch log groups and service names to monitor.
#' @param evaluators The updated list of evaluators to apply during online evaluation.
#' @param evaluationExecutionRoleArn The updated Amazon Resource Name (ARN) of the IAM role used for evaluation execution.
#' @param executionStatus The updated execution status to enable or disable the online evaluation.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_online_evaluation_config
bedrockagentcorecontrol_update_online_evaluation_config <- function(clientToken = NULL, onlineEvaluationConfigId, description = NULL, rule = NULL, dataSourceConfig = NULL, evaluators = NULL, evaluationExecutionRoleArn = NULL, executionStatus = NULL) {
op <- new_operation(
name = "UpdateOnlineEvaluationConfig",
http_method = "PUT",
http_path = "/online-evaluation-configs/{onlineEvaluationConfigId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_online_evaluation_config_input(clientToken = clientToken, onlineEvaluationConfigId = onlineEvaluationConfigId, description = description, rule = rule, dataSourceConfig = dataSourceConfig, evaluators = evaluators, evaluationExecutionRoleArn = evaluationExecutionRoleArn, executionStatus = executionStatus)
output <- .bedrockagentcorecontrol$update_online_evaluation_config_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_online_evaluation_config <- bedrockagentcorecontrol_update_online_evaluation_config
#' Updates an existing payment connector
#'
#' @description
#' Updates an existing payment connector. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_payment_connector/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_payment_connector/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the parent payment manager.
#' @param paymentConnectorId [required] The unique identifier of the payment connector to update.
#' @param description The updated description of the payment connector.
#' @param type The updated type of the payment connector.
#' @param credentialProviderConfigurations The updated credential provider configurations for the payment connector.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_payment_connector
bedrockagentcorecontrol_update_payment_connector <- function(paymentManagerId, paymentConnectorId, description = NULL, type = NULL, credentialProviderConfigurations = NULL, clientToken = NULL) {
op <- new_operation(
name = "UpdatePaymentConnector",
http_method = "PATCH",
http_path = "/payments/managers/{paymentManagerId}/connectors/{paymentConnectorId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_payment_connector_input(paymentManagerId = paymentManagerId, paymentConnectorId = paymentConnectorId, description = description, type = type, credentialProviderConfigurations = credentialProviderConfigurations, clientToken = clientToken)
output <- .bedrockagentcorecontrol$update_payment_connector_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_payment_connector <- bedrockagentcorecontrol_update_payment_connector
#' Updates an existing payment credential provider with new authentication
#' credentials
#'
#' @description
#' Updates an existing payment credential provider with new authentication credentials.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_payment_credential_provider/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_payment_credential_provider/) for full documentation.
#'
#' @param name [required] The name of the payment credential provider to update.
#' @param credentialProviderVendor [required] The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).
#' @param providerConfigurationInput [required] Configuration specific to the vendor, including API credentials.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_payment_credential_provider
bedrockagentcorecontrol_update_payment_credential_provider <- function(name, credentialProviderVendor, providerConfigurationInput) {
op <- new_operation(
name = "UpdatePaymentCredentialProvider",
http_method = "POST",
http_path = "/identities/UpdatePaymentCredentialProvider",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_payment_credential_provider_input(name = name, credentialProviderVendor = credentialProviderVendor, providerConfigurationInput = providerConfigurationInput)
output <- .bedrockagentcorecontrol$update_payment_credential_provider_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_payment_credential_provider <- bedrockagentcorecontrol_update_payment_credential_provider
#' Updates an existing payment manager
#'
#' @description
#' Updates an existing payment manager. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_payment_manager/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_payment_manager/) for full documentation.
#'
#' @param paymentManagerId [required] The unique identifier of the payment manager to update.
#' @param description The updated description of the payment manager.
#' @param authorizerType The updated authorizer type for the payment manager.
#' @param authorizerConfiguration The updated authorizer configuration for the payment manager.
#' @param roleArn The updated Amazon Resource Name (ARN) of the IAM role for the payment manager.
#' @param clientToken A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html).
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_payment_manager
bedrockagentcorecontrol_update_payment_manager <- function(paymentManagerId, description = NULL, authorizerType = NULL, authorizerConfiguration = NULL, roleArn = NULL, clientToken = NULL) {
op <- new_operation(
name = "UpdatePaymentManager",
http_method = "PATCH",
http_path = "/payments/managers/{paymentManagerId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_payment_manager_input(paymentManagerId = paymentManagerId, description = description, authorizerType = authorizerType, authorizerConfiguration = authorizerConfiguration, roleArn = roleArn, clientToken = clientToken)
output <- .bedrockagentcorecontrol$update_payment_manager_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_payment_manager <- bedrockagentcorecontrol_update_payment_manager
#' Updates an existing policy within the AgentCore Policy system
#'
#' @description
#' 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 [`get_policy`][bedrockagentcorecontrol_get_policy] operation to poll the `status` field to track completion.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_policy/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_policy/) for full documentation.
#'
#' @param policyEngineId [required] The identifier of the policy engine that manages the policy to be updated. This ensures the policy is updated within the correct policy engine context.
#' @param policyId [required] The unique identifier of the policy to be updated. This must be a valid policy ID that exists within the specified policy engine.
#' @param description The new human-readable description for the policy. This optional field allows updating the policy's documentation while keeping the same policy logic.
#' @param definition The new Cedar policy statement that defines the access control rules. This replaces the existing policy definition with new logic while maintaining the policy's identity.
#' @param validationMode The validation mode for the policy update. Determines how Cedar analyzer validation results are handled during policy updates. FAIL_ON_ANY_FINDINGS runs the Cedar analyzer and fails the update if validation issues are detected, ensuring the policy conforms to the Cedar schema and tool context. IGNORE_ALL_FINDINGS runs the Cedar analyzer but allows updates despite validation warnings. Use FAIL_ON_ANY_FINDINGS to ensure policy correctness during updates, especially when modifying policy logic or conditions.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_policy
bedrockagentcorecontrol_update_policy <- function(policyEngineId, policyId, description = NULL, definition = NULL, validationMode = NULL) {
op <- new_operation(
name = "UpdatePolicy",
http_method = "PATCH",
http_path = "/policy-engines/{policyEngineId}/policies/{policyId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_policy_input(policyEngineId = policyEngineId, policyId = policyId, description = description, definition = definition, validationMode = validationMode)
output <- .bedrockagentcorecontrol$update_policy_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_policy <- bedrockagentcorecontrol_update_policy
#' Updates an existing policy engine within the AgentCore Policy system
#'
#' @description
#' 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 [`get_policy_engine`][bedrockagentcorecontrol_get_policy_engine] operation to poll the `status` field to track completion.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_policy_engine/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_policy_engine/) for full documentation.
#'
#' @param policyEngineId [required] The unique identifier of the policy engine to be updated.
#' @param description The new description for the policy engine.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_policy_engine
bedrockagentcorecontrol_update_policy_engine <- function(policyEngineId, description = NULL) {
op <- new_operation(
name = "UpdatePolicyEngine",
http_method = "PATCH",
http_path = "/policy-engines/{policyEngineId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_policy_engine_input(policyEngineId = policyEngineId, description = description)
output <- .bedrockagentcorecontrol$update_policy_engine_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_policy_engine <- bedrockagentcorecontrol_update_policy_engine
#' Updates an existing registry
#'
#' @description
#' Updates an existing registry. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_registry/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_registry/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry to update. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param name The updated name of the registry.
#' @param description The updated description of the registry. To clear the description, include the `UpdatedDescription` wrapper with `optionalValue` not specified.
#' @param authorizerConfiguration The updated authorizer configuration for the registry. Changing the authorizer configuration can break existing consumers of the registry who are using the authorization type prior to the update.
#' @param approvalConfiguration The updated approval configuration for registry records. The updated configuration only affects new records that move to `PENDING_APPROVAL` status after the change. Existing records already in `PENDING_APPROVAL` status are not affected.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_registry
bedrockagentcorecontrol_update_registry <- function(registryId, name = NULL, description = NULL, authorizerConfiguration = NULL, approvalConfiguration = NULL) {
op <- new_operation(
name = "UpdateRegistry",
http_method = "PATCH",
http_path = "/registries/{registryId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_registry_input(registryId = registryId, name = name, description = description, authorizerConfiguration = authorizerConfiguration, approvalConfiguration = approvalConfiguration)
output <- .bedrockagentcorecontrol$update_registry_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_registry <- bedrockagentcorecontrol_update_registry
#' Updates an existing registry record
#'
#' @description
#' 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.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_registry_record/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_registry_record/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param recordId [required] The identifier of the registry record to update. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
#' @param name The updated name for the registry record.
#' @param description The updated description for the registry record. To clear the description, include the `UpdatedDescription` wrapper with `optionalValue` not specified.
#' @param descriptorType The updated descriptor type for the registry record. Changing the descriptor type may require updating the `descriptors` field to match the new type's schema requirements.
#' @param descriptors The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.
#' @param recordVersion The version of the registry record for optimistic locking. If provided, it must match the current version of the record. The service automatically increments the version after a successful update.
#' @param synchronizationType The updated synchronization type for the registry record.
#' @param synchronizationConfiguration The updated synchronization configuration for the registry record.
#' @param triggerSynchronization Whether to trigger synchronization using the stored or provided configuration. When set to `true`, the service will synchronize the record metadata from the configured external source.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_registry_record
bedrockagentcorecontrol_update_registry_record <- function(registryId, recordId, name = NULL, description = NULL, descriptorType = NULL, descriptors = NULL, recordVersion = NULL, synchronizationType = NULL, synchronizationConfiguration = NULL, triggerSynchronization = NULL) {
op <- new_operation(
name = "UpdateRegistryRecord",
http_method = "PATCH",
http_path = "/registries/{registryId}/records/{recordId}",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_registry_record_input(registryId = registryId, recordId = recordId, name = name, description = description, descriptorType = descriptorType, descriptors = descriptors, recordVersion = recordVersion, synchronizationType = synchronizationType, synchronizationConfiguration = synchronizationConfiguration, triggerSynchronization = triggerSynchronization)
output <- .bedrockagentcorecontrol$update_registry_record_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_registry_record <- bedrockagentcorecontrol_update_registry_record
#' Updates the status of a registry record
#'
#' @description
#' Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_registry_record_status/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_registry_record_status/) for full documentation.
#'
#' @param registryId [required] The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
#' @param recordId [required] The identifier of the registry record to update the status for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
#' @param status [required] The target status for the registry record.
#' @param statusReason [required] The reason for the status change, such as why the record was approved or rejected.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_registry_record_status
bedrockagentcorecontrol_update_registry_record_status <- function(registryId, recordId, status, statusReason) {
op <- new_operation(
name = "UpdateRegistryRecordStatus",
http_method = "PATCH",
http_path = "/registries/{registryId}/records/{recordId}/status",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_registry_record_status_input(registryId = registryId, recordId = recordId, status = status, statusReason = statusReason)
output <- .bedrockagentcorecontrol$update_registry_record_status_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_registry_record_status <- bedrockagentcorecontrol_update_registry_record_status
#' Updates an existing workload identity
#'
#' @description
#' Updates an existing workload identity.
#'
#' See [https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_workload_identity/](https://www.paws-r-sdk.com/docs/bedrockagentcorecontrol_update_workload_identity/) for full documentation.
#'
#' @param name [required] The name of the workload identity to update.
#' @param allowedResourceOauth2ReturnUrls The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.
#'
#' @keywords internal
#'
#' @rdname bedrockagentcorecontrol_update_workload_identity
bedrockagentcorecontrol_update_workload_identity <- function(name, allowedResourceOauth2ReturnUrls = NULL) {
op <- new_operation(
name = "UpdateWorkloadIdentity",
http_method = "POST",
http_path = "/identities/UpdateWorkloadIdentity",
host_prefix = "",
paginator = list(),
stream_api = FALSE
)
input <- .bedrockagentcorecontrol$update_workload_identity_input(name = name, allowedResourceOauth2ReturnUrls = allowedResourceOauth2ReturnUrls)
output <- .bedrockagentcorecontrol$update_workload_identity_output()
config <- get_config()
svc <- .bedrockagentcorecontrol$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.bedrockagentcorecontrol$operations$update_workload_identity <- bedrockagentcorecontrol_update_workload_identity
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.