AgentRegistryClient#
Index > AgentRegistry > AgentRegistryClient
Auto-generated documentation for AgentRegistry type annotations stubs module mypy-boto3-agent-registry.
AgentRegistryClient#
Type annotations and code completion for boto3.client("agent-registry").
boto3 documentation
# AgentRegistryClient usage example
from boto3.session import Session
from mypy_boto3_agent_registry.client import AgentRegistryClient
def get_agent-registry_client() -> AgentRegistryClient:
return Session().client("agent-registry")
Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("agent-registry").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("agent-registry")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
client.exceptions.UnauthorizedException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_agent_registry.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("agent-registry").can_paginate method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("agent-registry").generate_presigned_url method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
batch_get_discoverable_registry_record#
Retrieves multiple discoverable registry records by ID from a single registry.
Type annotations and code completion for boto3.client("agent-registry").batch_get_discoverable_registry_record method.
boto3 documentation
# batch_get_discoverable_registry_record method definition
def batch_get_discoverable_registry_record(
self,
*,
entries: Sequence[RegistryRecordsEntryTypeDef], # (1)
) -> BatchGetDiscoverableRegistryRecordResponseTypeDef: # (2)
...
- See
Sequence[RegistryRecordsEntryTypeDef] - See BatchGetDiscoverableRegistryRecordResponseTypeDef
# batch_get_discoverable_registry_record method usage example with argument unpacking
kwargs: BatchGetDiscoverableRegistryRecordRequestTypeDef = { # (1)
"entries": ...,
}
parent.batch_get_discoverable_registry_record(**kwargs)
list_discoverable_registry_records#
Lists the discoverable registry records in a registry.
Type annotations and code completion for boto3.client("agent-registry").list_discoverable_registry_records method.
boto3 documentation
# list_discoverable_registry_records method definition
def list_discoverable_registry_records(
self,
*,
registryId: str,
maxResults: int = ...,
nextToken: str = ...,
filters: Sequence[RegistryRecordFilterTypeDef] = ..., # (1)
) -> ListDiscoverableRegistryRecordsResponseTypeDef: # (2)
...
- See
Sequence[RegistryRecordFilterTypeDef] - See ListDiscoverableRegistryRecordsResponseTypeDef
# list_discoverable_registry_records method usage example with argument unpacking
kwargs: ListDiscoverableRegistryRecordsRequestTypeDef = { # (1)
"registryId": ...,
}
parent.list_discoverable_registry_records(**kwargs)
search_discoverable_registry_records#
Searches the discoverable registry records in a registry using a natural language query.
Type annotations and code completion for boto3.client("agent-registry").search_discoverable_registry_records method.
boto3 documentation
# search_discoverable_registry_records method definition
def search_discoverable_registry_records(
self,
*,
searchQuery: str,
registryIds: Sequence[str],
maxResults: int = ...,
filters: Mapping[str, Any] = ...,
) -> SearchDiscoverableRegistryRecordsResponseTypeDef: # (1)
...
# search_discoverable_registry_records method usage example with argument unpacking
kwargs: SearchDiscoverableRegistryRecordsRequestTypeDef = { # (1)
"searchQuery": ...,
"registryIds": ...,
}
parent.search_discoverable_registry_records(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("agent-registry").get_paginator method with overloads.
client.get_paginator("list_discoverable_registry_records")-> ListDiscoverableRegistryRecordsPaginator