BedrockAgentCoreDataPlaneFrontingLayer / Client / get_agent_card
get_agent_card¶
- BedrockAgentCoreDataPlaneFrontingLayer.Client.get_agent_card(**kwargs)¶
Retrieves the A2A agent card associated with an AgentCore Runtime agent.
See also: AWS API Documentation
Request Syntax
response = client.get_agent_card( runtimeSessionId='string', agentRuntimeArn='string', qualifier='string' )
- Parameters:
runtimeSessionId (string) –
The session ID that the AgentCore Runtime agent is using.
This field is autopopulated if not provided.
agentRuntimeArn (string) –
[REQUIRED]
The ARN of the AgentCore Runtime agent for which you want to get the A2A agent card.
qualifier (string) – Optional qualifier to specify an agent alias, such as
prod``code> or ``dev
. If you don’t provide a value, the DEFAULT alias is used.
- Return type:
dict
- Returns:
Response Syntax
{ 'runtimeSessionId': 'string', 'agentCard': {...}|[...]|123|123.4|'string'|True|None, 'statusCode': 123 }
Response Structure
(dict) –
runtimeSessionId (string) –
The ID of the session associated with the AgentCore Runtime agent.
agentCard (document) –
An agent card document that contains metadata and capabilities for an AgentCore Runtime agent.
statusCode (integer) –
The status code of the request.
Exceptions
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ServiceQuotaExceededException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ValidationException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.AccessDeniedException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.RuntimeClientError
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ThrottlingException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ResourceNotFoundException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.InternalServerException