Skip to main content

agents_list_only

Lists agents in a region or regions, for all properties use agents

Overview

Nameagents_list_only
TypeResource
DescriptionDefinition of AWS::Bedrock::Agent Resource Type
Idaws.bedrock.agents_list_only

Fields

NameDatatypeDescription
action_groupsarrayList of ActionGroups
agent_arnstringArn representation of the Agent.
agent_idstringIdentifier for a resource.
agent_namestringName for a resource.
agent_resource_role_arnstringARN of a IAM role.
agent_statusstringSchema Type for Action APIs.
agent_versionstringDraft Agent Version.
auto_preparebooleanSpecifies whether to automatically prepare after creating or updating the agent.
created_atstringTime Stamp.
customer_encryption_key_arnstringA KMS key ARN
skip_resource_in_use_check_on_deletebooleanSpecifies whether to allow deleting agent while it is in use.
descriptionstringDescription of the Resource.
failure_reasonsarrayFailure Reasons for Error.
foundation_modelstringARN or name of a Bedrock model.
idle_session_ttl_in_secondsnumberMax Session Time.
instructionstringInstruction for the agent.
knowledge_basesarrayList of Agent Knowledge Bases
prepared_atstringTime Stamp.
prompt_override_configurationobjectConfiguration for prompt override.
recommended_actionsarrayThe recommended actions users can take to resolve an error in failureReasons.
tagsobjectA map of tag keys and values
test_alias_tagsobjectA map of tag keys and values
updated_atstringTime Stamp.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all agents in a region.

SELECT
region,
agent_id
FROM aws.bedrock.agents_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the agents_list_only resource, see agents