@aws-sdk/client-agent-registry 3.1105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +202 -0
- package/dist-cjs/index.js +729 -0
- package/dist-es/AgentRegistry.js +17 -0
- package/dist-es/AgentRegistryClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchGetDiscoverableRegistryRecordCommand.js +4 -0
- package/dist-es/commands/ListDiscoverableRegistryRecordsCommand.js +4 -0
- package/dist-es/commands/SearchDiscoverableRegistryRecordsCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +9 -0
- package/dist-es/endpoint/bdd.js +22 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/AgentRegistryServiceException.js +8 -0
- package/dist-es/models/enums.js +33 -0
- package/dist-es/models/errors.js +77 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDiscoverableRegistryRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +286 -0
- package/dist-types/AgentRegistry.d.ts +38 -0
- package/dist-types/AgentRegistryClient.d.ts +189 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +162 -0
- package/dist-types/commands/ListDiscoverableRegistryRecordsCommand.d.ts +114 -0
- package/dist-types/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +152 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/AgentRegistryServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +76 -0
- package/dist-types/models/errors.d.ts +86 -0
- package/dist-types/models/models_0.d.ts +489 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDiscoverableRegistryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/dist-types/ts3.4/AgentRegistry.d.ts +67 -0
- package/dist-types/ts3.4/AgentRegistryClient.d.ts +119 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDiscoverableRegistryRecordsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/AgentRegistryServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +41 -0
- package/dist-types/ts3.4/models/errors.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +124 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListDiscoverableRegistryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +69 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { AgentRegistryServiceException as __BaseException } from "./AgentRegistryServiceException";
|
|
3
|
+
import type { ValidationExceptionReason } from "./enums";
|
|
4
|
+
import type { ValidationExceptionField } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>The caller is not authorized to perform the requested action.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The request failed due to an unexpected internal error; the caller may retry.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The requested resource was not found.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
34
|
+
readonly name: "ResourceNotFoundException";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The request was denied due to request throttling; the caller may retry after a delay.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class ThrottlingException extends __BaseException {
|
|
46
|
+
readonly name: "ThrottlingException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* <p>The request could not be authenticated.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
58
|
+
readonly name: "UnauthorizedException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* <p>The request failed validation of one or more input fields.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class ValidationException extends __BaseException {
|
|
70
|
+
readonly name: "ValidationException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
/**
|
|
73
|
+
* <p>The reason the request failed validation.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
reason: ValidationExceptionReason | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The list of input fields that failed validation.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
86
|
+
}
|
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import type { BatchGetDiscoverableRegistryRecordErrorCode, RecordType, RegistryRecordFilterName, RegistryRecordStatus } from "./enums";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Base mixin for descriptor source from URL</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DescriptorSourceFromUrl {
|
|
8
|
+
/**
|
|
9
|
+
* <p>URL source for descriptor content</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
url: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* <p> The source location from which a descriptor's content was retrieved.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface DescriptorSource {
|
|
19
|
+
/**
|
|
20
|
+
* <p>Base mixin for descriptor source from URL</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
fromUrl?: DescriptorSourceFromUrl | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* <p>Base mixin for A2A agent card descriptor content</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface A2aAgentCardDescriptor {
|
|
30
|
+
/**
|
|
31
|
+
* <p>Descriptor payload data</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
data?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>Version of the descriptor type schema</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
dataSchemaVersion?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p> The source location from which the A2A (Agent-to-Agent) agent card descriptor content was retrieved.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
source?: DescriptorSource | undefined;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* <p> Binds one registry to the record IDs requested from it.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface RegistryRecordsEntry {
|
|
51
|
+
/**
|
|
52
|
+
* <p>Registry identifier that accepts either ARN or ID format</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
registryId: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p> The record IDs to retrieve from the registry. You can specify 1 through 100 record IDs.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
recordIds: string[] | undefined;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export interface BatchGetDiscoverableRegistryRecordRequest {
|
|
66
|
+
/**
|
|
67
|
+
* <p> The registry-scoped groups of record IDs to retrieve. Currently, you can specify exactly one entry.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
entries: RegistryRecordsEntry[] | undefined;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* <p> Describes why a requested record could not be retrieved.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export interface BatchGetDiscoverableRegistryRecordError {
|
|
77
|
+
/**
|
|
78
|
+
* <p>Registry identifier that accepts either ARN or ID format</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
registryId: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Record identifier that accepts either ARN or ID format</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
recordId: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p> The machine-readable reason that the record could not be retrieved.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
errorCode: BatchGetDiscoverableRegistryRecordErrorCode | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p> An optional human-readable detail about the error. Do not parse this value programmatically.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
message?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* <p>Base mixin for agent skills markdown descriptor content</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export interface AgentSkillsMdDescriptor {
|
|
103
|
+
/**
|
|
104
|
+
* <p>Descriptor payload data</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
data?: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>Version of the descriptor type schema</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
dataSchemaVersion?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p> The source location from which the agent skills markdown content was retrieved.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
source?: DescriptorSource | undefined;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* <p> Additional data for an agent skills definition descriptor.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export interface AgentSkillsAdditionalData {
|
|
124
|
+
/**
|
|
125
|
+
* <p>Base mixin for agent skills markdown descriptor content</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
skillMd?: AgentSkillsMdDescriptor | undefined;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* <p>Base mixin for agent skills definition descriptor content</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export interface AgentSkillsDefinitionDescriptor {
|
|
135
|
+
/**
|
|
136
|
+
* <p>Descriptor payload data</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
data?: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>Version of the descriptor type schema</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
dataSchemaVersion?: string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* <p> Additional data for the agent skills definition, such as the skills markdown descriptor.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
additionalData?: AgentSkillsAdditionalData | undefined;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* <p>Custom descriptor for user-defined content</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export interface CustomDescriptor {
|
|
156
|
+
/**
|
|
157
|
+
* <p>Descriptor payload data</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
data?: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* <p>MCP tools descriptor containing tool definitions</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export interface McpToolsDescriptor {
|
|
167
|
+
/**
|
|
168
|
+
* <p>Descriptor payload data</p>
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
data?: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* <p>Version of the descriptor type schema</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
dataSchemaVersion?: string | undefined;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* <p>Additional data for an MCP server descriptor</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export interface McpServerAdditionalData {
|
|
183
|
+
/**
|
|
184
|
+
* <p>MCP tools descriptor containing tool definitions</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
tools?: McpToolsDescriptor | undefined;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* <p>Base mixin for MCP server descriptor content</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export interface McpServerDescriptor {
|
|
194
|
+
/**
|
|
195
|
+
* <p>Descriptor payload data</p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
data?: string | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* <p>Version of the descriptor type schema</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
dataSchemaVersion?: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* <p>Additional data for an MCP server descriptor</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
additionalData?: McpServerAdditionalData | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* <p> The source location from which the MCP (Model Context Protocol) server descriptor content was retrieved.</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
source?: DescriptorSource | undefined;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* <p> The protocol-specific descriptors that describe how to connect to and use the registry record.</p>
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export interface Descriptors {
|
|
220
|
+
/**
|
|
221
|
+
* <p>Base mixin for MCP server descriptor content</p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
mcpServer?: McpServerDescriptor | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>Base mixin for A2A agent card descriptor content</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
a2aAgentCard?: A2aAgentCardDescriptor | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* <p>Base mixin for agent skills definition descriptor content</p>
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
agentSkillsDefinition?: AgentSkillsDefinitionDescriptor | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* <p>Custom descriptor for user-defined content</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
custom?: CustomDescriptor | undefined;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* <p> Summary information about a registry record, including its descriptors.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
export interface RegistryRecordSummary {
|
|
246
|
+
/**
|
|
247
|
+
* <p>Registry Amazon Resource Name</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
registryArn: string | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* <p>Registry Record Amazon Resource Name</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
recordArn: string | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* <p>Registry Record unique identifier - 12-character alphanumeric string</p>
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
recordId: string | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* <p>Registry Record name</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
name: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* <p>Description of the Resource</p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
description?: string | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* <p>Display name for a registry record</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
displayName?: string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>Record type enum for registry record classification</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
recordType: RecordType | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p> The protocol-specific descriptors that describe how to connect to and use the record.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
descriptors: Descriptors | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* <p>Version of the registry record</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
recordVersion: string | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* <p>Registry record status</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
status: RegistryRecordStatus | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>Timestamp in ISO 8601 date-time format</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
createdAt: Date | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* <p>Timestamp in ISO 8601 date-time format</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
updatedAt: Date | undefined;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export interface BatchGetDiscoverableRegistryRecordResponse {
|
|
311
|
+
/**
|
|
312
|
+
* <p> The records that were successfully retrieved. Each record correlates to the request by its <code>recordId</code>.</p>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
registryRecords: RegistryRecordSummary[] | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* <p> The per-record errors for records that could not be retrieved. This list is empty when all requested records were returned.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
errors: BatchGetDiscoverableRegistryRecordError[] | undefined;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* <p>Describes a single input field that failed validation.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export interface ValidationExceptionField {
|
|
327
|
+
/**
|
|
328
|
+
* <p>The name of the field that failed validation.</p>
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
name: string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* <p>A description of why the field failed validation.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
message: string | undefined;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* <p> A single filter applied to a <code>ListDiscoverableRegistryRecords</code> request.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export interface RegistryRecordFilter {
|
|
343
|
+
/**
|
|
344
|
+
* <p> The attribute to filter on.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
name: RegistryRecordFilterName | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* <p> The values to match for the attribute.</p>
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
values: string[] | undefined;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export interface ListDiscoverableRegistryRecordsRequest {
|
|
358
|
+
/**
|
|
359
|
+
* <p>Registry identifier that accepts either ARN or ID format</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
registryId: string | undefined;
|
|
363
|
+
/**
|
|
364
|
+
* <p> The maximum number of records to return in a single page. Valid values are 1 through 100.</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
maxResults?: number | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* <p> The pagination token returned by a previous request. Use this value to retrieve the next page of results.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
nextToken?: string | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* <p> The filters to apply to the discoverable registry record list.</p>
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
filters?: RegistryRecordFilter[] | undefined;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* <p> Summary information about a discoverable registry record returned by <code> ListDiscoverableRegistryRecords</code>. This summary does not include descriptors.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export interface DiscoverableRegistryRecordSummary {
|
|
384
|
+
/**
|
|
385
|
+
* <p>Registry Amazon Resource Name</p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
registryArn: string | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* <p>Registry Record Amazon Resource Name</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
recordArn: string | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>Registry Record unique identifier - 12-character alphanumeric string</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
recordId: string | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* <p>Registry Record name</p>
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
name: string | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* <p>Description of the Resource</p>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
description?: string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* <p>Display name for a registry record</p>
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
displayName?: string | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* <p>Record type enum for registry record classification</p>
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
recordType: RecordType | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* <p>Version of the registry record</p>
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
recordVersion: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* <p>Registry record status</p>
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
status: RegistryRecordStatus | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>Timestamp in ISO 8601 date-time format</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
createdAt: Date | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* <p>Timestamp in ISO 8601 date-time format</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
updatedAt: Date | undefined;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export interface ListDiscoverableRegistryRecordsResponse {
|
|
444
|
+
/**
|
|
445
|
+
* <p> The page of discoverable registry record summaries.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
registryRecords: DiscoverableRegistryRecordSummary[] | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p> The pagination token to pass to a subsequent request to retrieve the next page of results. This field is absent when there are no more results.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
nextToken?: string | undefined;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
export interface SearchDiscoverableRegistryRecordsRequest {
|
|
459
|
+
/**
|
|
460
|
+
* <p> The natural language query to search for matching registry records.</p>
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
searchQuery: string | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* <p> The registry identifiers to search within. Currently, you must specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the registry ID.</p>
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
468
|
+
registryIds: string[] | undefined;
|
|
469
|
+
/**
|
|
470
|
+
* <p> The maximum number of results to return. Valid values are 1 through 20. The default value is 10.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
maxResults?: number | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* <p> An optional structured JSON metadata filter that narrows the search results. Supports the field-level operators <code>$eq</code>, <code>$ne</code>, and <code>$in</code>, and the logical operators <code>$and</code> and <code>$or</code> on filterable fields.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
filters?: __DocumentType | undefined;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export interface SearchDiscoverableRegistryRecordsResponse {
|
|
484
|
+
/**
|
|
485
|
+
* <p> The registry records that match the search query, ordered by relevance.</p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
registryRecords: RegistryRecordSummary[] | undefined;
|
|
489
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PaginationConfiguration } from "@smithy/types";
|
|
2
|
+
import { AgentRegistryClient } from "../AgentRegistryClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface AgentRegistryPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
+
client: AgentRegistryClient;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListDiscoverableRegistryRecordsCommandInput, ListDiscoverableRegistryRecordsCommandOutput } from "../commands/ListDiscoverableRegistryRecordsCommand";
|
|
3
|
+
import type { AgentRegistryPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListDiscoverableRegistryRecords: (config: AgentRegistryPaginationConfiguration, input: ListDiscoverableRegistryRecordsCommandInput, ...rest: any[]) => Paginator<ListDiscoverableRegistryRecordsCommandOutput>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
17
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
18
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
20
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
21
|
+
protocolSettings: {
|
|
22
|
+
defaultNamespace?: string;
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
apiVersion: string;
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
30
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
|
+
disableHostPrefix: boolean;
|
|
33
|
+
serviceId: string;
|
|
34
|
+
profile?: string;
|
|
35
|
+
logger: import("@smithy/types").Logger;
|
|
36
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
40
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
|
+
logger?: import("@smithy/types").Logger;
|
|
43
|
+
}) => import("@smithy/types").EndpointV2;
|
|
44
|
+
tls?: boolean;
|
|
45
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
46
|
+
serviceConfiguredEndpoint?: never;
|
|
47
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
48
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
49
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
|
|
50
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
51
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
52
|
+
signingEscapePath?: boolean;
|
|
53
|
+
systemClockOffset?: number;
|
|
54
|
+
signingRegion?: string;
|
|
55
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
56
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
57
|
+
};
|