AgentRegistry class
Agent Registry lets callers discover, list, and retrieve approved records published to a registry.
Constructors
- AgentRegistry({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl, bool useFipsEndpoint = false, bool useDualStackEndpoint = false})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
batchGetDiscoverableRegistryRecord(
{required List< RegistryRecordsEntry> entries}) → Future<BatchGetDiscoverableRegistryRecordResponse> -
Retrieves multiple discoverable registry records by ID from a single
registry. Records that cannot be retrieved are reported individually in
the
errorslist rather than failing the entire request. -
close(
) → void - Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
-
listDiscoverableRegistryRecords(
{required String registryId, List< RegistryRecordFilter> ? filters, int? maxResults, String? nextToken}) → Future<ListDiscoverableRegistryRecordsResponse> - Lists the discoverable registry records in a registry. You can optionally filter and paginate the results.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchDiscoverableRegistryRecords(
{required List< String> registryIds, required String searchQuery, Object? filters, int? maxResults}) → Future<SearchDiscoverableRegistryRecordsResponse> - Searches the discoverable registry records in a registry using a natural language query. Returns metadata for the matching records ordered by relevance.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited