Skip to content

Update Registry Record

bedrockagentcorecontrol_update_registry_record R Documentation

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.

Usage

bedrockagentcorecontrol_update_registry_record(registryId, recordId,
  name, description, descriptorType, descriptors, recordVersion,
  synchronizationType, synchronizationConfiguration,
  triggerSynchronization)

Arguments

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.

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.

name

The updated name for the registry record.

description

The updated description for the registry record. To clear the description, include the UpdatedDescription wrapper with optionalValue not specified.

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.

descriptors

The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.

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.

synchronizationType

The updated synchronization type for the registry record.

synchronizationConfiguration

The updated synchronization configuration for the registry record.

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.

Value

A list with the following syntax:

list(
  registryArn = "string",
  recordArn = "string",
  recordId = "string",
  name = "string",
  description = "string",
  descriptorType = "MCP"|"A2A"|"CUSTOM"|"AGENT_SKILLS",
  descriptors = list(
    mcp = list(
      server = list(
        schemaVersion = "string",
        inlineContent = "string"
      ),
      tools = list(
        protocolVersion = "string",
        inlineContent = "string"
      )
    ),
    a2a = list(
      agentCard = list(
        schemaVersion = "string",
        inlineContent = "string"
      )
    ),
    custom = list(
      inlineContent = "string"
    ),
    agentSkills = list(
      skillMd = list(
        inlineContent = "string"
      ),
      skillDefinition = list(
        schemaVersion = "string",
        inlineContent = "string"
      )
    )
  ),
  recordVersion = "string",
  status = "DRAFT"|"PENDING_APPROVAL"|"APPROVED"|"REJECTED"|"DEPRECATED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  statusReason = "string",
  synchronizationType = "URL",
  synchronizationConfiguration = list(
    fromUrl = list(
      url = "string",
      credentialProviderConfigurations = list(
        list(
          credentialProviderType = "OAUTH"|"IAM",
          credentialProvider = list(
            oauthCredentialProvider = list(
              providerArn = "string",
              grantType = "CLIENT_CREDENTIALS",
              scopes = list(
                "string"
              ),
              customParameters = list(
                "string"
              )
            ),
            iamCredentialProvider = list(
              roleArn = "string",
              service = "string",
              region = "string"
            )
          )
        )
      )
    )
  )
)

Request syntax

svc$update_registry_record(
  registryId = "string",
  recordId = "string",
  name = "string",
  description = list(
    optionalValue = "string"
  ),
  descriptorType = "MCP"|"A2A"|"CUSTOM"|"AGENT_SKILLS",
  descriptors = list(
    optionalValue = list(
      mcp = list(
        optionalValue = list(
          server = list(
            optionalValue = list(
              schemaVersion = "string",
              inlineContent = "string"
            )
          ),
          tools = list(
            optionalValue = list(
              protocolVersion = "string",
              inlineContent = "string"
            )
          )
        )
      ),
      a2a = list(
        optionalValue = list(
          agentCard = list(
            schemaVersion = "string",
            inlineContent = "string"
          )
        )
      ),
      custom = list(
        optionalValue = list(
          inlineContent = "string"
        )
      ),
      agentSkills = list(
        optionalValue = list(
          skillMd = list(
            optionalValue = list(
              inlineContent = "string"
            )
          ),
          skillDefinition = list(
            optionalValue = list(
              schemaVersion = "string",
              inlineContent = "string"
            )
          )
        )
      )
    )
  ),
  recordVersion = "string",
  synchronizationType = list(
    optionalValue = "URL"
  ),
  synchronizationConfiguration = list(
    optionalValue = list(
      fromUrl = list(
        url = "string",
        credentialProviderConfigurations = list(
          list(
            credentialProviderType = "OAUTH"|"IAM",
            credentialProvider = list(
              oauthCredentialProvider = list(
                providerArn = "string",
                grantType = "CLIENT_CREDENTIALS",
                scopes = list(
                  "string"
                ),
                customParameters = list(
                  "string"
                )
              ),
              iamCredentialProvider = list(
                roleArn = "string",
                service = "string",
                region = "string"
              )
            )
          )
        )
      )
    )
  ),
  triggerSynchronization = TRUE|FALSE
)