Skip to content

Get Agent Alias

bedrockagent_get_agent_alias R Documentation

Gets information about an alias of an agent

Description

Gets information about an alias of an agent.

Usage

bedrockagent_get_agent_alias(agentAliasId, agentId)

Arguments

agentAliasId

[required] The unique identifier of the alias for which to get information.

agentId

[required] The unique identifier of the agent to which the alias to get information belongs.

Value

A list with the following syntax:

list(
  agentAlias = list(
    agentAliasArn = "string",
    agentAliasHistoryEvents = list(
      list(
        endDate = as.POSIXct(
          "2015-01-01"
        ),
        routingConfiguration = list(
          list(
            agentVersion = "string",
            provisionedThroughput = "string"
          )
        ),
        startDate = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    agentAliasId = "string",
    agentAliasName = "string",
    agentAliasStatus = "CREATING"|"PREPARED"|"FAILED"|"UPDATING"|"DELETING",
    agentId = "string",
    clientToken = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    description = "string",
    failureReasons = list(
      "string"
    ),
    routingConfiguration = list(
      list(
        agentVersion = "string",
        provisionedThroughput = "string"
      )
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_agent_alias(
  agentAliasId = "string",
  agentId = "string"
)