@aws-sdk/client-agent-registry-control 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 +286 -0
- package/dist-cjs/index.js +1536 -0
- package/dist-es/AgentRegistryControl.js +49 -0
- package/dist-es/AgentRegistryControlClient.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/CreateRegistryCommand.js +4 -0
- package/dist-es/commands/CreateRegistryRecordCommand.js +4 -0
- package/dist-es/commands/DeleteRegistryCommand.js +4 -0
- package/dist-es/commands/DeleteRegistryRecordCommand.js +4 -0
- package/dist-es/commands/GetRegistryCommand.js +4 -0
- package/dist-es/commands/GetRegistryRecordCommand.js +4 -0
- package/dist-es/commands/ListRegistriesCommand.js +4 -0
- package/dist-es/commands/ListRegistryRecordsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/SubmitRegistryRecordForApprovalCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryRecordCommand.js +4 -0
- package/dist-es/commands/UpdateRegistryRecordStatusCommand.js +4 -0
- package/dist-es/commands/index.js +15 -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 +11 -0
- package/dist-es/models/AgentRegistryControlServiceException.js +8 -0
- package/dist-es/models/enums.js +69 -0
- package/dist-es/models/errors.js +89 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRegistriesPaginator.js +4 -0
- package/dist-es/pagination/ListRegistryRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -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 +783 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForRegistryReady.js +58 -0
- package/dist-es/waiters/waitForRegistryRecordApproved.js +58 -0
- package/dist-types/AgentRegistryControl.d.ts +143 -0
- package/dist-types/AgentRegistryControlClient.d.ts +201 -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/CreateRegistryCommand.d.ts +172 -0
- package/dist-types/commands/CreateRegistryRecordCommand.d.ts +212 -0
- package/dist-types/commands/DeleteRegistryCommand.d.ts +89 -0
- package/dist-types/commands/DeleteRegistryRecordCommand.d.ts +88 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +173 -0
- package/dist-types/commands/GetRegistryRecordCommand.d.ts +211 -0
- package/dist-types/commands/ListRegistriesCommand.d.ts +179 -0
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +114 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +266 -0
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +375 -0
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +15 -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 +19 -0
- package/dist-types/models/AgentRegistryControlServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +173 -0
- package/dist-types/models/errors.d.ts +98 -0
- package/dist-types/models/models_0.d.ts +1886 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListRegistriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRegistryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -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 +118 -0
- package/dist-types/ts3.4/AgentRegistryControl.d.ts +295 -0
- package/dist-types/ts3.4/AgentRegistryControlClient.d.ts +187 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -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/CreateRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -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 +14 -0
- package/dist-types/ts3.4/models/AgentRegistryControlServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +90 -0
- package/dist-types/ts3.4/models/errors.d.ts +41 -0
- package/dist-types/ts3.4/models/models_0.d.ts +528 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListRegistriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRegistryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -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 +118 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForRegistryReady.d.ts +12 -0
- package/dist-types/ts3.4/waiters/waitForRegistryRecordApproved.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForRegistryReady.d.ts +15 -0
- package/dist-types/waiters/waitForRegistryRecordApproved.d.ts +15 -0
- package/package.json +69 -0
|
@@ -0,0 +1,1886 @@
|
|
|
1
|
+
import type { AutoApprovalRule, ClaimMatchOperatorType, EndpointIpAddressType, InboundTokenClaimValueType, RecordType, RegistryAuthorizerType, RegistryFilterName, RegistryRecordCredentialProviderType, RegistryRecordFilterName, RegistryRecordOAuthGrantType, RegistryRecordStatus, RegistryStatus } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* <p>The configuration for an IAM role credential provider that signs requests to a registry record's source with AWS Signature Version 4 (SigV4).</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface RegistryRecordIamCredentialProvider {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The &ARN; of the IAM role to assume for request signing.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
roleArn?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The service name to use for request signing, such as execute-api.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
service?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The AWS Region to use for request signing. If not specified, the Region is derived from the source URL hostname, falling back to the Region of the registry.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
region?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* <p>The configuration for an OAuth 2.0 credential provider that authenticates requests to a registry record's source.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface RegistryRecordOAuthCredentialProvider {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The &ARN; of the OAuth 2.0 credential provider resource in Amazon Bedrock AgentCore Identity.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
providerArn: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The OAuth 2.0 grant type used to obtain access tokens.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
grantType?: RegistryRecordOAuthGrantType | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The OAuth 2.0 scopes to request when obtaining access tokens.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
scopes?: string[] | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>Additional parameters to include in the OAuth 2.0 token request.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
customParameters?: Record<string, string> | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>The credential provider details for a registry record. Exactly one member is populated, matching the configured credential provider type.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type RegistryRecordCredentialProviderUnion = RegistryRecordCredentialProviderUnion.IamCredentialProviderMember | RegistryRecordCredentialProviderUnion.OauthCredentialProviderMember | RegistryRecordCredentialProviderUnion.$UnknownMember;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare namespace RegistryRecordCredentialProviderUnion {
|
|
58
|
+
/**
|
|
59
|
+
* <p>The OAuth 2.0 credential provider details.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
interface OauthCredentialProviderMember {
|
|
63
|
+
oauthCredentialProvider: RegistryRecordOAuthCredentialProvider;
|
|
64
|
+
iamCredentialProvider?: never;
|
|
65
|
+
$unknown?: never;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* <p>The IAM role credential provider details.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
interface IamCredentialProviderMember {
|
|
72
|
+
oauthCredentialProvider?: never;
|
|
73
|
+
iamCredentialProvider: RegistryRecordIamCredentialProvider;
|
|
74
|
+
$unknown?: never;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
interface $UnknownMember {
|
|
80
|
+
oauthCredentialProvider?: never;
|
|
81
|
+
iamCredentialProvider?: never;
|
|
82
|
+
$unknown: [string, any];
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* @deprecated unused in schema-serde mode.
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
interface Visitor<T> {
|
|
89
|
+
oauthCredentialProvider: (value: RegistryRecordOAuthCredentialProvider) => T;
|
|
90
|
+
iamCredentialProvider: (value: RegistryRecordIamCredentialProvider) => T;
|
|
91
|
+
_: (name: string, value: any) => T;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>A credential provider configuration that specifies how to authenticate when fetching descriptor content from a registry record's source URL.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export interface RegistryRecordCredentialProviderConfiguration {
|
|
99
|
+
/**
|
|
100
|
+
* <p>The type of credential provider.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
credentialProviderType: RegistryRecordCredentialProviderType | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The credential provider details corresponding to the specified credential provider type.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
credentialProvider: RegistryRecordCredentialProviderUnion | undefined;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>URL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export interface DescriptorSourceFromUrl {
|
|
115
|
+
/**
|
|
116
|
+
* <p>The URL from which the descriptor content is retrieved.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
url: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The credential providers used to authenticate when fetching descriptor content from the source URL.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
credentialProviderConfigurations?: RegistryRecordCredentialProviderConfiguration[] | undefined;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* <p>The source configuration that defines where descriptor content is retrieved from.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export interface DescriptorSource {
|
|
131
|
+
/**
|
|
132
|
+
* <p>URL-based descriptor source, populated when descriptor content is synchronized from a URL.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
fromUrl?: DescriptorSourceFromUrl | undefined;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* <p>Descriptor that defines the content of an A2A (Agent-to-Agent) agent card registry record. The content is validated against the A2A protocol schema.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export interface A2aAgentCardDescriptor {
|
|
142
|
+
/**
|
|
143
|
+
* <p>The A2A agent card content, serialized as descriptor payload data.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
data?: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>The schema version of the descriptor payload.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
dataSchemaVersion?: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The optional source configuration used to synchronize the A2A agent card descriptor content.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
source?: DescriptorSource | undefined;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export interface ListTagsForResourceRequest {
|
|
162
|
+
/**
|
|
163
|
+
* ARN of a taggable Agent Registry resource.
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
resourceArn: string | undefined;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export interface ListTagsForResourceResponse {
|
|
172
|
+
/**
|
|
173
|
+
* A map of tag keys to tag values returned by read operations (may be empty).
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
tags?: Record<string, string> | undefined;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* <p>Describes a single input field that failed validation.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export interface ValidationExceptionField {
|
|
183
|
+
/**
|
|
184
|
+
* <p>The name of the field that failed validation.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
name: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* <p>A description of why the field failed validation.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
message: string | undefined;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* <p>Markdown-format descriptor containing an agent skills document.</p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export interface AgentSkillsMdDescriptor {
|
|
199
|
+
/**
|
|
200
|
+
* <p>The agent skills markdown content, serialized as descriptor payload data.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
data?: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* <p>The schema version of the descriptor payload.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
dataSchemaVersion?: string | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* <p>The optional source configuration used to synchronize the agent skills markdown content.</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
source?: DescriptorSource | undefined;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* <p>Additional data associated with an agent skills definition descriptor.</p>
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export interface AgentSkillsAdditionalData {
|
|
220
|
+
/**
|
|
221
|
+
* <p>The markdown skill content associated with an agent skills definition.</p>
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
skillMd?: AgentSkillsMdDescriptor | undefined;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* <p>Descriptor that defines an agent skills registry record and its associated content.</p>
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
export interface AgentSkillsDefinitionDescriptor {
|
|
231
|
+
/**
|
|
232
|
+
* <p>The agent skills definition content, serialized as descriptor payload data.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
data?: string | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* <p>The schema version of the descriptor payload.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
dataSchemaVersion?: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>Additional data associated with the agent skills definition descriptor.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
additionalData?: AgentSkillsAdditionalData | undefined;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* <p>Custom descriptor for user-defined content</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
export interface CustomDescriptor {
|
|
252
|
+
/**
|
|
253
|
+
* <p>Descriptor payload data</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
data?: string | undefined;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* <p>MCP tools descriptor containing tool definitions</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
export interface McpToolsDescriptor {
|
|
263
|
+
/**
|
|
264
|
+
* <p>Descriptor payload data</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
data?: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* <p>Version of the descriptor type schema</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
dataSchemaVersion?: string | undefined;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* <p>Additional data for an MCP server descriptor</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
export interface McpServerAdditionalData {
|
|
279
|
+
/**
|
|
280
|
+
* <p>MCP tools descriptor containing tool definitions</p>
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
tools?: McpToolsDescriptor | undefined;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* <p>Descriptor that defines the content of an MCP (Model Context Protocol) server registry record, including the server definition and its tool definitions. The content is validated against the MCP protocol schema.</p>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
export interface McpServerDescriptor {
|
|
290
|
+
/**
|
|
291
|
+
* <p>The MCP server descriptor content, serialized as descriptor payload data.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
data?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>The schema version of the descriptor payload.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
dataSchemaVersion?: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* <p>Additional data associated with the MCP server descriptor, such as tool definitions.</p>
|
|
302
|
+
* @public
|
|
303
|
+
*/
|
|
304
|
+
additionalData?: McpServerAdditionalData | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* <p>The optional source configuration used to synchronize the MCP server descriptor content.</p>
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
source?: DescriptorSource | undefined;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* <p>The typed set of descriptors for a registry record. Exactly one descriptor field is populated based on the record type.</p>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
export interface Descriptors {
|
|
316
|
+
/**
|
|
317
|
+
* <p>The MCP server descriptor, populated when the record type is MCP.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
mcpServer?: McpServerDescriptor | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* <p>The A2A agent card descriptor, populated when the record type is AGENT.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
a2aAgentCard?: A2aAgentCardDescriptor | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* <p>The agent skills definition descriptor, populated when the record type is SKILL.</p>
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
agentSkillsDefinition?: AgentSkillsDefinitionDescriptor | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* <p>The custom descriptor, populated when the record type is CUSTOM.</p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
custom?: CustomDescriptor | undefined;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
export interface CreateRegistryRecordRequest {
|
|
341
|
+
/**
|
|
342
|
+
* <p>The identifier of the registry in which to create the record (ARN or ID)</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
registryId: string | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The name of the registry record</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
name: string | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* <p>The human-readable display name of the registry record</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
displayName?: string | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* <p>The description of the registry record</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
description?: string | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* <p>The type of the registry record, which determines the descriptor format</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
recordType: RecordType | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* <p>The typed descriptor content for the registry record</p>
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
descriptors: Descriptors | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* <p>The version of the registry record</p>
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
recordVersion?: string | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* <p>Client token for idempotency</p>
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
clientToken?: string | undefined;
|
|
381
|
+
/**
|
|
382
|
+
* <p>Tags to associate with the registry record</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
tags?: Record<string, string> | undefined;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* <p>Response structure for creating a registry record</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export interface CreateRegistryRecordResponse {
|
|
392
|
+
/**
|
|
393
|
+
* <p>The ARN of the created registry record</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
recordArn: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* <p>The status of the registry record, set to CREATING while the asynchronous workflow is in progress</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
status: RegistryRecordStatus | undefined;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
export interface DeleteRegistryRecordRequest {
|
|
407
|
+
/**
|
|
408
|
+
* <p>The identifier of the registry containing the record (ARN or ID)</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
registryId: string | undefined;
|
|
412
|
+
/**
|
|
413
|
+
* <p>The identifier of the registry record to delete (ARN or ID)</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
recordId: string | undefined;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* <p>Response structure for deleting a registry record</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export interface DeleteRegistryRecordResponse {
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
export interface GetRegistryRecordRequest {
|
|
428
|
+
/**
|
|
429
|
+
* <p>The identifier of the registry containing the record (ARN or ID)</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
registryId: string | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* <p>The identifier of the registry record to retrieve (ARN or ID)</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
recordId: string | undefined;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* <p>Response structure for retrieving a registry record</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export interface GetRegistryRecordResponse {
|
|
444
|
+
/**
|
|
445
|
+
* <p>The &ARN; of the parent registry that owns the record.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
registryArn: string | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p>The &ARN; of the registry record.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
recordArn: string | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* <p>The unique identifier of the registry record.</p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
recordId: string | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* <p>The name of the registry record. Names are unique within a registry.</p>
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
name: string | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* <p>The human-readable display name of the registry record.</p>
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
468
|
+
displayName?: string | undefined;
|
|
469
|
+
/**
|
|
470
|
+
* <p>A description of the registry record.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
description?: string | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* <p>The type of the registry record, such as MCP, AGENT, SKILL, or CUSTOM.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
recordType: RecordType | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* <p>The typed descriptors that define the content of the registry record.</p>
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
descriptors?: Descriptors | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* <p>The version identifier of the registry record.</p>
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
recordVersion?: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* <p>The lifecycle status of the registry record.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
status: RegistryRecordStatus | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* <p>The timestamp when the registry record was created.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
createdAt: Date | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* <p>The timestamp when the registry record was last updated.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
updatedAt: Date | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
|
|
506
|
+
* @public
|
|
507
|
+
*/
|
|
508
|
+
statusReason?: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* <p>A single filter applied to a ListRegistryRecords request.</p>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
export interface RegistryRecordFilter {
|
|
515
|
+
/**
|
|
516
|
+
* <p>The attribute to filter on</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
name: RegistryRecordFilterName | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* <p>The values to match for the attribute</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
values: string[] | undefined;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
export interface ListRegistryRecordsRequest {
|
|
530
|
+
/**
|
|
531
|
+
* <p>The identifier of the registry to list records from (ARN or ID)</p>
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
registryId: string | undefined;
|
|
535
|
+
/**
|
|
536
|
+
* <p>Maximum number of records to return</p>
|
|
537
|
+
* @public
|
|
538
|
+
*/
|
|
539
|
+
maxResults?: number | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* <p>Token for pagination</p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
nextToken?: string | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* <p>Filters to apply to the registry record list</p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
filters?: RegistryRecordFilter[] | undefined;
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* <p>A summary of a registry record returned by list operations. Contains identifying and lifecycle fields but omits descriptor content.</p>
|
|
553
|
+
* @public
|
|
554
|
+
*/
|
|
555
|
+
export interface RegistryRecordSummary {
|
|
556
|
+
/**
|
|
557
|
+
* <p>The &ARN; of the parent registry that owns the record.</p>
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
registryArn: string | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>The &ARN; of the registry record.</p>
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
recordArn: string | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* <p>The unique identifier of the registry record.</p>
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
recordId: string | undefined;
|
|
571
|
+
/**
|
|
572
|
+
* <p>The name of the registry record. Names are unique within a registry.</p>
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
575
|
+
name: string | undefined;
|
|
576
|
+
/**
|
|
577
|
+
* <p>The human-readable display name of the registry record.</p>
|
|
578
|
+
* @public
|
|
579
|
+
*/
|
|
580
|
+
displayName?: string | undefined;
|
|
581
|
+
/**
|
|
582
|
+
* <p>A description of the registry record.</p>
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
description?: string | undefined;
|
|
586
|
+
/**
|
|
587
|
+
* <p>The type of the registry record, such as MCP, AGENT, SKILL, or CUSTOM.</p>
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
recordType: RecordType | undefined;
|
|
591
|
+
/**
|
|
592
|
+
* <p>The version identifier of the registry record.</p>
|
|
593
|
+
* @public
|
|
594
|
+
*/
|
|
595
|
+
recordVersion: string | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* <p>The lifecycle status of the registry record.</p>
|
|
598
|
+
* @public
|
|
599
|
+
*/
|
|
600
|
+
status: RegistryRecordStatus | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* <p>The timestamp when the registry record was created.</p>
|
|
603
|
+
* @public
|
|
604
|
+
*/
|
|
605
|
+
createdAt: Date | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* <p>The timestamp when the registry record was last updated.</p>
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
updatedAt: Date | undefined;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* <p>Response structure for listing registry records</p>
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
export interface ListRegistryRecordsResponse {
|
|
617
|
+
/**
|
|
618
|
+
* <p>List of registry record summaries</p>
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
registryRecords: RegistryRecordSummary[] | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* <p>Token for next page of results</p>
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
nextToken?: string | undefined;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
export interface SubmitRegistryRecordForApprovalRequest {
|
|
632
|
+
/**
|
|
633
|
+
* <p>The identifier of the registry containing the record (ARN or ID)</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
registryId: string | undefined;
|
|
637
|
+
/**
|
|
638
|
+
* <p>The identifier of the registry record to submit for approval (ARN or ID)</p>
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
recordId: string | undefined;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* <p>Response structure for submitting a registry record for approval</p>
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
export interface SubmitRegistryRecordForApprovalResponse {
|
|
648
|
+
/**
|
|
649
|
+
* <p>The ARN of the registry</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
registryArn: string | undefined;
|
|
653
|
+
/**
|
|
654
|
+
* <p>The ARN of the registry record</p>
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
recordArn: string | undefined;
|
|
658
|
+
/**
|
|
659
|
+
* <p>The ID of the registry record</p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
recordId: string | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* <p>The resulting status of the registry record</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
status: RegistryRecordStatus | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* <p>The timestamp when the record was last updated</p>
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
updatedAt: Date | undefined;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* <p>Wrapper for updating an optional Description field with PATCH semantics</p>
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
export interface UpdatedDescription {
|
|
679
|
+
/**
|
|
680
|
+
* <p>Description of the Resource</p>
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
683
|
+
optionalValue?: string | undefined;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* <p>Leaf patch wrapper for descriptor data. Omit to leave unchanged; supply an empty object to unset; supply optionalValue to set.</p>
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
export interface UpdatedDescriptorData {
|
|
690
|
+
/**
|
|
691
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
optionalValue?: string | undefined;
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* <p>Leaf patch wrapper for a descriptor's data schema version. Omit to leave unchanged; supply an empty object to unset; supply optionalValue to set.</p>
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
export interface UpdatedDataSchemaVersion {
|
|
701
|
+
/**
|
|
702
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
optionalValue?: string | undefined;
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* <p>Leaf patch wrapper for a descriptor's source configuration. Omit to leave unchanged; supply an empty object to unset; supply optionalValue to set.</p>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export interface UpdatedDescriptorSource {
|
|
712
|
+
/**
|
|
713
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
optionalValue?: DescriptorSource | undefined;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* <p>The set of A2A agent card descriptor fields that can be individually updated.</p>
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
export interface UpdatedA2aAgentCardDescriptorFields {
|
|
723
|
+
/**
|
|
724
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
725
|
+
* @public
|
|
726
|
+
*/
|
|
727
|
+
data?: UpdatedDescriptorData | undefined;
|
|
728
|
+
/**
|
|
729
|
+
* <p>The patch for the descriptor's data schema version field.</p>
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
dataSchemaVersion?: UpdatedDataSchemaVersion | undefined;
|
|
733
|
+
/**
|
|
734
|
+
* <p>The patch for the descriptor's source field.</p>
|
|
735
|
+
* @public
|
|
736
|
+
*/
|
|
737
|
+
source?: UpdatedDescriptorSource | undefined;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* <p>The A2A agent card descriptor patch wrapper. Omit to leave the descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
export interface UpdatedA2aAgentCardDescriptor {
|
|
744
|
+
/**
|
|
745
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
optionalValue?: UpdatedA2aAgentCardDescriptorFields | undefined;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* <p>The set of agent skills markdown descriptor fields that can be individually updated.</p>
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
export interface UpdatedAgentSkillsMdDescriptorFields {
|
|
755
|
+
/**
|
|
756
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
759
|
+
data?: UpdatedDescriptorData | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* <p>The patch for the descriptor's data schema version field.</p>
|
|
762
|
+
* @public
|
|
763
|
+
*/
|
|
764
|
+
dataSchemaVersion?: UpdatedDataSchemaVersion | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* <p>The patch for the descriptor's source field.</p>
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
source?: UpdatedDescriptorSource | undefined;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* <p>The agent skills markdown descriptor patch wrapper. Omit to leave the descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
773
|
+
* @public
|
|
774
|
+
*/
|
|
775
|
+
export interface UpdatedAgentSkillsMdDescriptor {
|
|
776
|
+
/**
|
|
777
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
optionalValue?: UpdatedAgentSkillsMdDescriptorFields | undefined;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* <p>The set of agent skills additional-data fields that can be individually updated.</p>
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
export interface UpdatedAgentSkillsAdditionalDataFields {
|
|
787
|
+
/**
|
|
788
|
+
* <p>The patch for the agent skills markdown descriptor field.</p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
skillMd?: UpdatedAgentSkillsMdDescriptor | undefined;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* <p>The agent skills additional-data patch wrapper. Omit to leave the additional data unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
export interface UpdatedAgentSkillsAdditionalData {
|
|
798
|
+
/**
|
|
799
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
optionalValue?: UpdatedAgentSkillsAdditionalDataFields | undefined;
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* <p>The set of agent skills definition descriptor fields that can be individually updated.</p>
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
808
|
+
export interface UpdatedAgentSkillsDefinitionDescriptorFields {
|
|
809
|
+
/**
|
|
810
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
data?: UpdatedDescriptorData | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* <p>The patch for the descriptor's data schema version field.</p>
|
|
816
|
+
* @public
|
|
817
|
+
*/
|
|
818
|
+
dataSchemaVersion?: UpdatedDataSchemaVersion | undefined;
|
|
819
|
+
/**
|
|
820
|
+
* <p>The patch for the descriptor's additional data field.</p>
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
823
|
+
additionalData?: UpdatedAgentSkillsAdditionalData | undefined;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* <p>The agent skills definition descriptor patch wrapper. Omit to leave the descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
827
|
+
* @public
|
|
828
|
+
*/
|
|
829
|
+
export interface UpdatedAgentSkillsDefinitionDescriptor {
|
|
830
|
+
/**
|
|
831
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
832
|
+
* @public
|
|
833
|
+
*/
|
|
834
|
+
optionalValue?: UpdatedAgentSkillsDefinitionDescriptorFields | undefined;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* <p>The set of custom descriptor fields that can be individually updated.</p>
|
|
838
|
+
* @public
|
|
839
|
+
*/
|
|
840
|
+
export interface UpdatedCustomDescriptorFields {
|
|
841
|
+
/**
|
|
842
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
843
|
+
* @public
|
|
844
|
+
*/
|
|
845
|
+
data?: UpdatedDescriptorData | undefined;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* <p>The custom descriptor patch wrapper. Omit to leave the descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
849
|
+
* @public
|
|
850
|
+
*/
|
|
851
|
+
export interface UpdatedCustomDescriptor {
|
|
852
|
+
/**
|
|
853
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
854
|
+
* @public
|
|
855
|
+
*/
|
|
856
|
+
optionalValue?: UpdatedCustomDescriptorFields | undefined;
|
|
857
|
+
}
|
|
858
|
+
/**
|
|
859
|
+
* <p>The set of MCP tools descriptor fields that can be individually updated.</p>
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
862
|
+
export interface UpdatedMcpToolsDescriptorFields {
|
|
863
|
+
/**
|
|
864
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
data?: UpdatedDescriptorData | undefined;
|
|
868
|
+
/**
|
|
869
|
+
* <p>The patch for the descriptor's data schema version field.</p>
|
|
870
|
+
* @public
|
|
871
|
+
*/
|
|
872
|
+
dataSchemaVersion?: UpdatedDataSchemaVersion | undefined;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* <p>The MCP tools descriptor patch wrapper. Omit to leave the tools descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
export interface UpdatedMcpToolsDescriptor {
|
|
879
|
+
/**
|
|
880
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
883
|
+
optionalValue?: UpdatedMcpToolsDescriptorFields | undefined;
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* <p>The set of MCP server additional-data fields that can be individually updated.</p>
|
|
887
|
+
* @public
|
|
888
|
+
*/
|
|
889
|
+
export interface UpdatedMcpServerAdditionalDataFields {
|
|
890
|
+
/**
|
|
891
|
+
* <p>The patch for the MCP tools descriptor field.</p>
|
|
892
|
+
* @public
|
|
893
|
+
*/
|
|
894
|
+
tools?: UpdatedMcpToolsDescriptor | undefined;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* <p>The MCP server additional-data patch wrapper. Omit to leave the additional data unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
898
|
+
* @public
|
|
899
|
+
*/
|
|
900
|
+
export interface UpdatedMcpServerAdditionalData {
|
|
901
|
+
/**
|
|
902
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
optionalValue?: UpdatedMcpServerAdditionalDataFields | undefined;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* <p>The set of MCP server descriptor fields that can be individually updated.</p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
export interface UpdatedMcpServerDescriptorFields {
|
|
912
|
+
/**
|
|
913
|
+
* <p>The patch for the descriptor's data field.</p>
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
data?: UpdatedDescriptorData | undefined;
|
|
917
|
+
/**
|
|
918
|
+
* <p>The patch for the descriptor's data schema version field.</p>
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
dataSchemaVersion?: UpdatedDataSchemaVersion | undefined;
|
|
922
|
+
/**
|
|
923
|
+
* <p>The patch for the descriptor's source field.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
source?: UpdatedDescriptorSource | undefined;
|
|
927
|
+
/**
|
|
928
|
+
* <p>The patch for the descriptor's additional data field.</p>
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
additionalData?: UpdatedMcpServerAdditionalData | undefined;
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* <p>The MCP server descriptor patch wrapper. Omit to leave the descriptor unchanged; supply an empty object to remove it; supply optionalValue to patch its fields.</p>
|
|
935
|
+
* @public
|
|
936
|
+
*/
|
|
937
|
+
export interface UpdatedMcpServerDescriptor {
|
|
938
|
+
/**
|
|
939
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
optionalValue?: UpdatedMcpServerDescriptorFields | undefined;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* <p>The patchable descriptor fields applied during an UpdateRegistryRecord call. Each field is independently patchable.</p>
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
export interface UpdatedDescriptorsFields {
|
|
949
|
+
/**
|
|
950
|
+
* <p>The patch for the MCP server descriptor.</p>
|
|
951
|
+
* @public
|
|
952
|
+
*/
|
|
953
|
+
mcpServer?: UpdatedMcpServerDescriptor | undefined;
|
|
954
|
+
/**
|
|
955
|
+
* <p>The patch for the A2A agent card descriptor.</p>
|
|
956
|
+
* @public
|
|
957
|
+
*/
|
|
958
|
+
a2aAgentCard?: UpdatedA2aAgentCardDescriptor | undefined;
|
|
959
|
+
/**
|
|
960
|
+
* <p>The patch for the agent skills definition descriptor.</p>
|
|
961
|
+
* @public
|
|
962
|
+
*/
|
|
963
|
+
agentSkillsDefinition?: UpdatedAgentSkillsDefinitionDescriptor | undefined;
|
|
964
|
+
/**
|
|
965
|
+
* <p>The patch for the custom descriptor.</p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
custom?: UpdatedCustomDescriptor | undefined;
|
|
969
|
+
}
|
|
970
|
+
/**
|
|
971
|
+
* <p>The top-level descriptors patch wrapper used in UpdateRegistryRecord. Omit to leave the current descriptors unchanged; supply an empty object to clear them; supply optionalValue to apply a per-field patch.</p>
|
|
972
|
+
* @public
|
|
973
|
+
*/
|
|
974
|
+
export interface UpdatedDescriptors {
|
|
975
|
+
/**
|
|
976
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
optionalValue?: UpdatedDescriptorsFields | undefined;
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* <p>Leaf patch wrapper for a registry record's display name. Omit to leave unchanged; supply an empty object to unset; supply optionalValue to set.</p>
|
|
983
|
+
* @public
|
|
984
|
+
*/
|
|
985
|
+
export interface UpdatedDisplayName {
|
|
986
|
+
/**
|
|
987
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
988
|
+
* @public
|
|
989
|
+
*/
|
|
990
|
+
optionalValue?: string | undefined;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* @public
|
|
994
|
+
*/
|
|
995
|
+
export interface UpdateRegistryRecordRequest {
|
|
996
|
+
/**
|
|
997
|
+
* <p>The identifier of the registry containing the record (ARN or ID)</p>
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
registryId: string | undefined;
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>The identifier of the registry record to update (ARN or ID)</p>
|
|
1003
|
+
* @public
|
|
1004
|
+
*/
|
|
1005
|
+
recordId: string | undefined;
|
|
1006
|
+
/**
|
|
1007
|
+
* <p>The updated name of the registry record. Omit to leave the name unchanged.</p>
|
|
1008
|
+
* @public
|
|
1009
|
+
*/
|
|
1010
|
+
name?: string | undefined;
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>The updated display name of the registry record. Omit to leave the display name unchanged; provide an empty wrapper to unset it.</p>
|
|
1013
|
+
* @public
|
|
1014
|
+
*/
|
|
1015
|
+
displayName?: UpdatedDisplayName | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* <p>The updated description of the registry record. Omit to leave the description unchanged; provide an empty wrapper to unset it.</p>
|
|
1018
|
+
* @public
|
|
1019
|
+
*/
|
|
1020
|
+
description?: UpdatedDescription | undefined;
|
|
1021
|
+
/**
|
|
1022
|
+
* <p>The updated type of the registry record. Omit to leave the record type unchanged.</p>
|
|
1023
|
+
* @public
|
|
1024
|
+
*/
|
|
1025
|
+
recordType?: RecordType | undefined;
|
|
1026
|
+
/**
|
|
1027
|
+
* <p>The updated typed descriptor content for the registry record. Omit to leave the descriptors unchanged.</p>
|
|
1028
|
+
* @public
|
|
1029
|
+
*/
|
|
1030
|
+
descriptors?: UpdatedDescriptors | undefined;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>The updated version of the registry record. Omit to leave the version unchanged.</p>
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
1035
|
+
recordVersion?: string | undefined;
|
|
1036
|
+
/**
|
|
1037
|
+
* <p>Whether to trigger synchronization of the record's descriptor content from its source</p>
|
|
1038
|
+
* @public
|
|
1039
|
+
*/
|
|
1040
|
+
triggerSynchronization?: boolean | undefined;
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* <p>Response structure for updating a registry record</p>
|
|
1044
|
+
* @public
|
|
1045
|
+
*/
|
|
1046
|
+
export interface UpdateRegistryRecordResponse {
|
|
1047
|
+
/**
|
|
1048
|
+
* <p>The &ARN; of the parent registry that owns the record.</p>
|
|
1049
|
+
* @public
|
|
1050
|
+
*/
|
|
1051
|
+
registryArn: string | undefined;
|
|
1052
|
+
/**
|
|
1053
|
+
* <p>The &ARN; of the registry record.</p>
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
1056
|
+
recordArn: string | undefined;
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>The unique identifier of the registry record.</p>
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
recordId: string | undefined;
|
|
1062
|
+
/**
|
|
1063
|
+
* <p>The name of the registry record. Names are unique within a registry.</p>
|
|
1064
|
+
* @public
|
|
1065
|
+
*/
|
|
1066
|
+
name: string | undefined;
|
|
1067
|
+
/**
|
|
1068
|
+
* <p>The human-readable display name of the registry record.</p>
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
1071
|
+
displayName?: string | undefined;
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>A description of the registry record.</p>
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
description?: string | undefined;
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>The type of the registry record, such as MCP, AGENT, SKILL, or CUSTOM.</p>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
recordType: RecordType | undefined;
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>The typed descriptors that define the content of the registry record.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
descriptors?: Descriptors | undefined;
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>The version identifier of the registry record.</p>
|
|
1089
|
+
* @public
|
|
1090
|
+
*/
|
|
1091
|
+
recordVersion?: string | undefined;
|
|
1092
|
+
/**
|
|
1093
|
+
* <p>The lifecycle status of the registry record.</p>
|
|
1094
|
+
* @public
|
|
1095
|
+
*/
|
|
1096
|
+
status: RegistryRecordStatus | undefined;
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>The timestamp when the registry record was created.</p>
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
createdAt: Date | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>The timestamp when the registry record was last updated.</p>
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
updatedAt: Date | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
|
|
1109
|
+
* @public
|
|
1110
|
+
*/
|
|
1111
|
+
statusReason?: string | undefined;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* @public
|
|
1115
|
+
*/
|
|
1116
|
+
export interface UpdateRegistryRecordStatusRequest {
|
|
1117
|
+
/**
|
|
1118
|
+
* <p>The identifier of the registry containing the record (ARN or ID)</p>
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
registryId: string | undefined;
|
|
1122
|
+
/**
|
|
1123
|
+
* <p>The identifier of the registry record to update the status of (ARN or ID)</p>
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1126
|
+
recordId: string | undefined;
|
|
1127
|
+
/**
|
|
1128
|
+
* <p>The target status for the registry record</p>
|
|
1129
|
+
* @public
|
|
1130
|
+
*/
|
|
1131
|
+
status: RegistryRecordStatus | undefined;
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>The reason for the status change, for example why the record was approved, rejected, or deprecated</p>
|
|
1134
|
+
* @public
|
|
1135
|
+
*/
|
|
1136
|
+
statusReason: string | undefined;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>Response structure for updating a registry record status</p>
|
|
1140
|
+
* @public
|
|
1141
|
+
*/
|
|
1142
|
+
export interface UpdateRegistryRecordStatusResponse {
|
|
1143
|
+
/**
|
|
1144
|
+
* <p>The ARN of the registry</p>
|
|
1145
|
+
* @public
|
|
1146
|
+
*/
|
|
1147
|
+
registryArn: string | undefined;
|
|
1148
|
+
/**
|
|
1149
|
+
* <p>The ARN of the registry record</p>
|
|
1150
|
+
* @public
|
|
1151
|
+
*/
|
|
1152
|
+
recordArn: string | undefined;
|
|
1153
|
+
/**
|
|
1154
|
+
* <p>The ID of the registry record</p>
|
|
1155
|
+
* @public
|
|
1156
|
+
*/
|
|
1157
|
+
recordId: string | undefined;
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>The resulting status of the registry record</p>
|
|
1160
|
+
* @public
|
|
1161
|
+
*/
|
|
1162
|
+
status: RegistryRecordStatus | undefined;
|
|
1163
|
+
/**
|
|
1164
|
+
* <p>The reason for the status change</p>
|
|
1165
|
+
* @public
|
|
1166
|
+
*/
|
|
1167
|
+
statusReason: string | undefined;
|
|
1168
|
+
/**
|
|
1169
|
+
* <p>The timestamp when the record was last updated</p>
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
updatedAt: Date | undefined;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* <p>Configuration for the registry's record approval workflow. Controls whether records submitted for approval require manual review before they become approved and discoverable, or are auto-approved. When no auto-approval rules are configured, submitted records require manual review.</p>
|
|
1176
|
+
* @public
|
|
1177
|
+
*/
|
|
1178
|
+
export interface ApprovalConfiguration {
|
|
1179
|
+
/**
|
|
1180
|
+
* <p>The rules that determine which registry records are automatically approved on submission. When omitted or empty, submitted records require manual review.</p>
|
|
1181
|
+
* @public
|
|
1182
|
+
*/
|
|
1183
|
+
autoApprovalRules?: AutoApprovalRule[] | undefined;
|
|
1184
|
+
}
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>The expected value used to match a claim. Exactly one member is set.</p>
|
|
1187
|
+
* @public
|
|
1188
|
+
*/
|
|
1189
|
+
export type ClaimMatchValueType = ClaimMatchValueType.MatchValueStringMember | ClaimMatchValueType.MatchValueStringListMember | ClaimMatchValueType.$UnknownMember;
|
|
1190
|
+
/**
|
|
1191
|
+
* @public
|
|
1192
|
+
*/
|
|
1193
|
+
export declare namespace ClaimMatchValueType {
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>A single string value to match the claim against.</p>
|
|
1196
|
+
* @public
|
|
1197
|
+
*/
|
|
1198
|
+
interface MatchValueStringMember {
|
|
1199
|
+
matchValueString: string;
|
|
1200
|
+
matchValueStringList?: never;
|
|
1201
|
+
$unknown?: never;
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>A list of string values to match the claim against.</p>
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1207
|
+
interface MatchValueStringListMember {
|
|
1208
|
+
matchValueString?: never;
|
|
1209
|
+
matchValueStringList: string[];
|
|
1210
|
+
$unknown?: never;
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* @public
|
|
1214
|
+
*/
|
|
1215
|
+
interface $UnknownMember {
|
|
1216
|
+
matchValueString?: never;
|
|
1217
|
+
matchValueStringList?: never;
|
|
1218
|
+
$unknown: [string, any];
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* @deprecated unused in schema-serde mode.
|
|
1222
|
+
*
|
|
1223
|
+
*/
|
|
1224
|
+
interface Visitor<T> {
|
|
1225
|
+
matchValueString: (value: string) => T;
|
|
1226
|
+
matchValueStringList: (value: string[]) => T;
|
|
1227
|
+
_: (name: string, value: any) => T;
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
/**
|
|
1231
|
+
* <p>The value and match operator used to authorize a claim during JWT validation.</p>
|
|
1232
|
+
* @public
|
|
1233
|
+
*/
|
|
1234
|
+
export interface AuthorizingClaimMatchValueType {
|
|
1235
|
+
/**
|
|
1236
|
+
* <p>The expected value or values that the claim is compared against.</p>
|
|
1237
|
+
* @public
|
|
1238
|
+
*/
|
|
1239
|
+
claimMatchValue: ClaimMatchValueType | undefined;
|
|
1240
|
+
/**
|
|
1241
|
+
* <p>The operator used to compare the claim value against the expected value.</p>
|
|
1242
|
+
* @public
|
|
1243
|
+
*/
|
|
1244
|
+
claimMatchOperator: ClaimMatchOperatorType | undefined;
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* <p>A validation rule applied to a single claim of an inbound JWT.</p>
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
export interface CustomClaimValidationType {
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>The name of the claim in the inbound token to validate.</p>
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
inboundTokenClaimName: string | undefined;
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The value type of the claim in the inbound token, either a string or an array of strings.</p>
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
inboundTokenClaimValueType: InboundTokenClaimValueType | undefined;
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>The value and match operator used to authorize the claim.</p>
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
authorizingClaimMatchValue: AuthorizingClaimMatchValueType | undefined;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* <p>A service-managed private endpoint provisioned within a customer VPC.</p>
|
|
1269
|
+
* @public
|
|
1270
|
+
*/
|
|
1271
|
+
export interface ManagedVpcResource {
|
|
1272
|
+
/**
|
|
1273
|
+
* <p>The identifier of the VPC in which the private endpoint is provisioned.</p>
|
|
1274
|
+
* @public
|
|
1275
|
+
*/
|
|
1276
|
+
vpcIdentifier: string | undefined;
|
|
1277
|
+
/**
|
|
1278
|
+
* <p>The identifiers of the subnets in which the private endpoint network interfaces are placed.</p>
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
subnetIds: string[] | undefined;
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>The IP address type used by the private endpoint, either IPV4 or IPV6.</p>
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
endpointIpAddressType: EndpointIpAddressType | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>The identifiers of the security groups associated with the private endpoint network interfaces.</p>
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
securityGroupIds?: string[] | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* A map of tag keys to tag values.
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
tags?: Record<string, string> | undefined;
|
|
1297
|
+
/**
|
|
1298
|
+
* <p>The routing domain used to resolve traffic through the private endpoint.</p>
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
routingDomain?: string | undefined;
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>A self-managed private endpoint backed by a VPC Lattice resource configuration. Exactly one member is set.</p>
|
|
1305
|
+
* @public
|
|
1306
|
+
*/
|
|
1307
|
+
export type SelfManagedLatticeResource = SelfManagedLatticeResource.ResourceConfigurationIdentifierMember | SelfManagedLatticeResource.$UnknownMember;
|
|
1308
|
+
/**
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
export declare namespace SelfManagedLatticeResource {
|
|
1312
|
+
/**
|
|
1313
|
+
* <p>The identifier of the VPC Lattice resource configuration, specified as a resource configuration ID or ARN.</p>
|
|
1314
|
+
* @public
|
|
1315
|
+
*/
|
|
1316
|
+
interface ResourceConfigurationIdentifierMember {
|
|
1317
|
+
resourceConfigurationIdentifier: string;
|
|
1318
|
+
$unknown?: never;
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* @public
|
|
1322
|
+
*/
|
|
1323
|
+
interface $UnknownMember {
|
|
1324
|
+
resourceConfigurationIdentifier?: never;
|
|
1325
|
+
$unknown: [string, any];
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* @deprecated unused in schema-serde mode.
|
|
1329
|
+
*
|
|
1330
|
+
*/
|
|
1331
|
+
interface Visitor<T> {
|
|
1332
|
+
resourceConfigurationIdentifier: (value: string) => T;
|
|
1333
|
+
_: (name: string, value: any) => T;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* <p>A private network endpoint used to reach a resource over a private path. Exactly one member is set.</p>
|
|
1338
|
+
* @public
|
|
1339
|
+
*/
|
|
1340
|
+
export type PrivateEndpoint = PrivateEndpoint.ManagedVpcResourceMember | PrivateEndpoint.SelfManagedLatticeResourceMember | PrivateEndpoint.$UnknownMember;
|
|
1341
|
+
/**
|
|
1342
|
+
* @public
|
|
1343
|
+
*/
|
|
1344
|
+
export declare namespace PrivateEndpoint {
|
|
1345
|
+
/**
|
|
1346
|
+
* <p>A private endpoint backed by a self-managed VPC Lattice resource configuration.</p>
|
|
1347
|
+
* @public
|
|
1348
|
+
*/
|
|
1349
|
+
interface SelfManagedLatticeResourceMember {
|
|
1350
|
+
selfManagedLatticeResource: SelfManagedLatticeResource;
|
|
1351
|
+
managedVpcResource?: never;
|
|
1352
|
+
$unknown?: never;
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* <p>A private endpoint backed by a service-managed VPC resource.</p>
|
|
1356
|
+
* @public
|
|
1357
|
+
*/
|
|
1358
|
+
interface ManagedVpcResourceMember {
|
|
1359
|
+
selfManagedLatticeResource?: never;
|
|
1360
|
+
managedVpcResource: ManagedVpcResource;
|
|
1361
|
+
$unknown?: never;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* @public
|
|
1365
|
+
*/
|
|
1366
|
+
interface $UnknownMember {
|
|
1367
|
+
selfManagedLatticeResource?: never;
|
|
1368
|
+
managedVpcResource?: never;
|
|
1369
|
+
$unknown: [string, any];
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
* @deprecated unused in schema-serde mode.
|
|
1373
|
+
*
|
|
1374
|
+
*/
|
|
1375
|
+
interface Visitor<T> {
|
|
1376
|
+
selfManagedLatticeResource: (value: SelfManagedLatticeResource) => T;
|
|
1377
|
+
managedVpcResource: (value: ManagedVpcResource) => T;
|
|
1378
|
+
_: (name: string, value: any) => T;
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* <p>A mapping of a domain to the private endpoint used to reach it.</p>
|
|
1383
|
+
* @public
|
|
1384
|
+
*/
|
|
1385
|
+
export interface PrivateEndpointOverride {
|
|
1386
|
+
/**
|
|
1387
|
+
* <p>The domain name to which this private endpoint override applies.</p>
|
|
1388
|
+
* @public
|
|
1389
|
+
*/
|
|
1390
|
+
domain: string | undefined;
|
|
1391
|
+
/**
|
|
1392
|
+
* <p>The private endpoint used to reach the specified domain.</p>
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
privateEndpoint: PrivateEndpoint | undefined;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* <p>Configuration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.</p>
|
|
1399
|
+
* @public
|
|
1400
|
+
*/
|
|
1401
|
+
export interface CustomJWTAuthorizerConfiguration {
|
|
1402
|
+
/**
|
|
1403
|
+
* <p>The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.</p>
|
|
1404
|
+
* @public
|
|
1405
|
+
*/
|
|
1406
|
+
discoveryUrl: string | undefined;
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>The audience values accepted during JWT validation. A token is rejected if none of its audience claims match.</p>
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
allowedAudience?: string[] | undefined;
|
|
1412
|
+
/**
|
|
1413
|
+
* <p>The client identifiers accepted during JWT validation. A token is rejected if it was not issued to one of these clients.</p>
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
allowedClients?: string[] | undefined;
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>The scopes accepted during JWT validation. A token is rejected if it does not carry one of these scopes.</p>
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
allowedScopes?: string[] | undefined;
|
|
1422
|
+
/**
|
|
1423
|
+
* <p>Additional custom claim validations applied to the inbound JWT.</p>
|
|
1424
|
+
* @public
|
|
1425
|
+
*/
|
|
1426
|
+
customClaims?: CustomClaimValidationType[] | undefined;
|
|
1427
|
+
/**
|
|
1428
|
+
* <p>The private endpoint used to reach the identity provider's discovery URL over a private network path.</p>
|
|
1429
|
+
* @public
|
|
1430
|
+
*/
|
|
1431
|
+
privateEndpoint?: PrivateEndpoint | undefined;
|
|
1432
|
+
/**
|
|
1433
|
+
* <p>Per-domain private endpoint overrides that route specific identity provider domains through distinct private endpoints.</p>
|
|
1434
|
+
* @public
|
|
1435
|
+
*/
|
|
1436
|
+
privateEndpointOverrides?: PrivateEndpointOverride[] | undefined;
|
|
1437
|
+
}
|
|
1438
|
+
/**
|
|
1439
|
+
* <p>The authorizer configuration for a registry. Exactly one member is set.</p>
|
|
1440
|
+
* @public
|
|
1441
|
+
*/
|
|
1442
|
+
export type AuthorizerConfiguration = AuthorizerConfiguration.CustomJWTAuthorizerMember | AuthorizerConfiguration.$UnknownMember;
|
|
1443
|
+
/**
|
|
1444
|
+
* @public
|
|
1445
|
+
*/
|
|
1446
|
+
export declare namespace AuthorizerConfiguration {
|
|
1447
|
+
/**
|
|
1448
|
+
* <p>Configuration for a custom JWT authorizer.</p>
|
|
1449
|
+
* @public
|
|
1450
|
+
*/
|
|
1451
|
+
interface CustomJWTAuthorizerMember {
|
|
1452
|
+
customJWTAuthorizer: CustomJWTAuthorizerConfiguration;
|
|
1453
|
+
$unknown?: never;
|
|
1454
|
+
}
|
|
1455
|
+
/**
|
|
1456
|
+
* @public
|
|
1457
|
+
*/
|
|
1458
|
+
interface $UnknownMember {
|
|
1459
|
+
customJWTAuthorizer?: never;
|
|
1460
|
+
$unknown: [string, any];
|
|
1461
|
+
}
|
|
1462
|
+
/**
|
|
1463
|
+
* @deprecated unused in schema-serde mode.
|
|
1464
|
+
*
|
|
1465
|
+
*/
|
|
1466
|
+
interface Visitor<T> {
|
|
1467
|
+
customJWTAuthorizer: (value: CustomJWTAuthorizerConfiguration) => T;
|
|
1468
|
+
_: (name: string, value: any) => T;
|
|
1469
|
+
}
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* <p>Discovery configuration for the registry. Controls how consumers are authorized to search the registry and invoke its MCP endpoint.</p>
|
|
1473
|
+
* @public
|
|
1474
|
+
*/
|
|
1475
|
+
export interface DiscoveryConfiguration {
|
|
1476
|
+
/**
|
|
1477
|
+
* <p>The authorizer configuration for the registry. Required when authorizerType is CUSTOM_JWT.</p>
|
|
1478
|
+
* @public
|
|
1479
|
+
*/
|
|
1480
|
+
authorizerConfiguration?: AuthorizerConfiguration | undefined;
|
|
1481
|
+
/**
|
|
1482
|
+
* <p>The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.</p>
|
|
1483
|
+
* @public
|
|
1484
|
+
*/
|
|
1485
|
+
authorizerType?: RegistryAuthorizerType | undefined;
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* <p>Request structure for creating a registry</p>
|
|
1489
|
+
* @public
|
|
1490
|
+
*/
|
|
1491
|
+
export interface CreateRegistryRequest {
|
|
1492
|
+
/**
|
|
1493
|
+
* <p>The name of the registry</p>
|
|
1494
|
+
* @public
|
|
1495
|
+
*/
|
|
1496
|
+
name: string | undefined;
|
|
1497
|
+
/**
|
|
1498
|
+
* <p>The description of the registry</p>
|
|
1499
|
+
* @public
|
|
1500
|
+
*/
|
|
1501
|
+
description?: string | undefined;
|
|
1502
|
+
/**
|
|
1503
|
+
* <p>Discovery configuration for the registry</p>
|
|
1504
|
+
* @public
|
|
1505
|
+
*/
|
|
1506
|
+
discoveryConfiguration?: DiscoveryConfiguration | undefined;
|
|
1507
|
+
/**
|
|
1508
|
+
* <p>Client token for idempotency</p>
|
|
1509
|
+
* @public
|
|
1510
|
+
*/
|
|
1511
|
+
clientToken?: string | undefined;
|
|
1512
|
+
/**
|
|
1513
|
+
* <p>Tags to associate with the registry</p>
|
|
1514
|
+
* @public
|
|
1515
|
+
*/
|
|
1516
|
+
tags?: Record<string, string> | undefined;
|
|
1517
|
+
/**
|
|
1518
|
+
* <p>Approval configuration for registry records</p>
|
|
1519
|
+
* @public
|
|
1520
|
+
*/
|
|
1521
|
+
approvalConfiguration?: ApprovalConfiguration | undefined;
|
|
1522
|
+
}
|
|
1523
|
+
/**
|
|
1524
|
+
* <p>Response structure for creating a registry</p>
|
|
1525
|
+
* @public
|
|
1526
|
+
*/
|
|
1527
|
+
export interface CreateRegistryResponse {
|
|
1528
|
+
/**
|
|
1529
|
+
* <p>The ARN of the created registry</p>
|
|
1530
|
+
* @public
|
|
1531
|
+
*/
|
|
1532
|
+
registryArn: string | undefined;
|
|
1533
|
+
}
|
|
1534
|
+
/**
|
|
1535
|
+
* <p>Request structure for deleting a registry</p>
|
|
1536
|
+
* @public
|
|
1537
|
+
*/
|
|
1538
|
+
export interface DeleteRegistryRequest {
|
|
1539
|
+
/**
|
|
1540
|
+
* <p>The identifier of the registry to delete (ARN or ID)</p>
|
|
1541
|
+
* @public
|
|
1542
|
+
*/
|
|
1543
|
+
registryId: string | undefined;
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* <p>Response structure for deleting a registry</p>
|
|
1547
|
+
* @public
|
|
1548
|
+
*/
|
|
1549
|
+
export interface DeleteRegistryResponse {
|
|
1550
|
+
/**
|
|
1551
|
+
* <p>Current status of the registry, set to DELETING when deletion is initiated</p>
|
|
1552
|
+
* @public
|
|
1553
|
+
*/
|
|
1554
|
+
status: RegistryStatus | undefined;
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* <p>Request structure for getting a registry</p>
|
|
1558
|
+
* @public
|
|
1559
|
+
*/
|
|
1560
|
+
export interface GetRegistryRequest {
|
|
1561
|
+
/**
|
|
1562
|
+
* <p>The identifier of the registry to retrieve (ARN or ID)</p>
|
|
1563
|
+
* @public
|
|
1564
|
+
*/
|
|
1565
|
+
registryId: string | undefined;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* <p>Response structure for getting a registry</p>
|
|
1569
|
+
* @public
|
|
1570
|
+
*/
|
|
1571
|
+
export interface GetRegistryResponse {
|
|
1572
|
+
/**
|
|
1573
|
+
* <p>The name of the registry</p>
|
|
1574
|
+
* @public
|
|
1575
|
+
*/
|
|
1576
|
+
name: string | undefined;
|
|
1577
|
+
/**
|
|
1578
|
+
* <p>The description of the registry</p>
|
|
1579
|
+
* @public
|
|
1580
|
+
*/
|
|
1581
|
+
description?: string | undefined;
|
|
1582
|
+
/**
|
|
1583
|
+
* <p>The unique identifier of the registry</p>
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
registryId: string | undefined;
|
|
1587
|
+
/**
|
|
1588
|
+
* <p>The ARN of the registry</p>
|
|
1589
|
+
* @public
|
|
1590
|
+
*/
|
|
1591
|
+
registryArn: string | undefined;
|
|
1592
|
+
/**
|
|
1593
|
+
* <p>Discovery configuration for the registry</p>
|
|
1594
|
+
* @public
|
|
1595
|
+
*/
|
|
1596
|
+
discoveryConfiguration?: DiscoveryConfiguration | undefined;
|
|
1597
|
+
/**
|
|
1598
|
+
* <p>Approval configuration for registry records</p>
|
|
1599
|
+
* @public
|
|
1600
|
+
*/
|
|
1601
|
+
approvalConfiguration?: ApprovalConfiguration | undefined;
|
|
1602
|
+
/**
|
|
1603
|
+
* <p>Current status of the registry</p>
|
|
1604
|
+
* @public
|
|
1605
|
+
*/
|
|
1606
|
+
status: RegistryStatus | undefined;
|
|
1607
|
+
/**
|
|
1608
|
+
* <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
|
|
1609
|
+
* @public
|
|
1610
|
+
*/
|
|
1611
|
+
statusReason?: string | undefined;
|
|
1612
|
+
/**
|
|
1613
|
+
* <p>The timestamp when the registry was created</p>
|
|
1614
|
+
* @public
|
|
1615
|
+
*/
|
|
1616
|
+
createdAt: Date | undefined;
|
|
1617
|
+
/**
|
|
1618
|
+
* <p>The timestamp when the registry was last updated</p>
|
|
1619
|
+
* @public
|
|
1620
|
+
*/
|
|
1621
|
+
updatedAt: Date | undefined;
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* <p>A single filter applied to a ListRegistries request.</p>
|
|
1625
|
+
* @public
|
|
1626
|
+
*/
|
|
1627
|
+
export interface RegistryFilter {
|
|
1628
|
+
/**
|
|
1629
|
+
* <p>The attribute to filter on</p>
|
|
1630
|
+
* @public
|
|
1631
|
+
*/
|
|
1632
|
+
name: RegistryFilterName | undefined;
|
|
1633
|
+
/**
|
|
1634
|
+
* <p>The values to match for the attribute</p>
|
|
1635
|
+
* @public
|
|
1636
|
+
*/
|
|
1637
|
+
values: string[] | undefined;
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* <p>Request structure for listing registries</p>
|
|
1641
|
+
* @public
|
|
1642
|
+
*/
|
|
1643
|
+
export interface ListRegistriesRequest {
|
|
1644
|
+
/**
|
|
1645
|
+
* <p>Maximum number of results to return</p>
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
maxResults?: number | undefined;
|
|
1649
|
+
/**
|
|
1650
|
+
* <p>Token for pagination</p>
|
|
1651
|
+
* @public
|
|
1652
|
+
*/
|
|
1653
|
+
nextToken?: string | undefined;
|
|
1654
|
+
/**
|
|
1655
|
+
* <p>Filters to apply to the registry list</p>
|
|
1656
|
+
* @public
|
|
1657
|
+
*/
|
|
1658
|
+
filters?: RegistryFilter[] | undefined;
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* <p>Registry summary for list operations</p>
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
export interface RegistrySummary {
|
|
1665
|
+
/**
|
|
1666
|
+
* <p>Registry name</p>
|
|
1667
|
+
* @public
|
|
1668
|
+
*/
|
|
1669
|
+
name: string | undefined;
|
|
1670
|
+
/**
|
|
1671
|
+
* <p>Registry description</p>
|
|
1672
|
+
* @public
|
|
1673
|
+
*/
|
|
1674
|
+
description?: string | undefined;
|
|
1675
|
+
/**
|
|
1676
|
+
* <p>Unique registry identifier</p>
|
|
1677
|
+
* @public
|
|
1678
|
+
*/
|
|
1679
|
+
registryId: string | undefined;
|
|
1680
|
+
/**
|
|
1681
|
+
* <p>Registry Amazon Resource Name</p>
|
|
1682
|
+
* @public
|
|
1683
|
+
*/
|
|
1684
|
+
registryArn: string | undefined;
|
|
1685
|
+
/**
|
|
1686
|
+
* <p>Discovery configuration for the registry</p>
|
|
1687
|
+
* @public
|
|
1688
|
+
*/
|
|
1689
|
+
discoveryConfiguration?: DiscoveryConfiguration | undefined;
|
|
1690
|
+
/**
|
|
1691
|
+
* <p>Current status of the registry</p>
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
status: RegistryStatus | undefined;
|
|
1695
|
+
/**
|
|
1696
|
+
* <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
|
|
1697
|
+
* @public
|
|
1698
|
+
*/
|
|
1699
|
+
statusReason?: string | undefined;
|
|
1700
|
+
/**
|
|
1701
|
+
* <p>The timestamp when the registry was created</p>
|
|
1702
|
+
* @public
|
|
1703
|
+
*/
|
|
1704
|
+
createdAt: Date | undefined;
|
|
1705
|
+
/**
|
|
1706
|
+
* <p>The timestamp when the registry was last updated</p>
|
|
1707
|
+
* @public
|
|
1708
|
+
*/
|
|
1709
|
+
updatedAt: Date | undefined;
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>Response structure for listing registries</p>
|
|
1713
|
+
* @public
|
|
1714
|
+
*/
|
|
1715
|
+
export interface ListRegistriesResponse {
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>List of registry summaries</p>
|
|
1718
|
+
* @public
|
|
1719
|
+
*/
|
|
1720
|
+
registries: RegistrySummary[] | undefined;
|
|
1721
|
+
/**
|
|
1722
|
+
* <p>Token for next page of results</p>
|
|
1723
|
+
* @public
|
|
1724
|
+
*/
|
|
1725
|
+
nextToken?: string | undefined;
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
* <p>A wrapper for updating the approval configuration of a registry. Include this wrapper to replace the approval configuration with the specified value; omit it to leave the approval configuration unchanged.</p>
|
|
1729
|
+
* @public
|
|
1730
|
+
*/
|
|
1731
|
+
export interface UpdatedApprovalConfiguration {
|
|
1732
|
+
/**
|
|
1733
|
+
* <p>The value to set for this field. Omit the wrapper to leave the field unchanged.</p>
|
|
1734
|
+
* @public
|
|
1735
|
+
*/
|
|
1736
|
+
optionalValue?: ApprovalConfiguration | undefined;
|
|
1737
|
+
}
|
|
1738
|
+
/**
|
|
1739
|
+
* <p>Wrapper for updating an optional authorizer configuration with PATCH semantics.</p>
|
|
1740
|
+
* @public
|
|
1741
|
+
*/
|
|
1742
|
+
export interface UpdatedAuthorizerConfiguration {
|
|
1743
|
+
/**
|
|
1744
|
+
* <p>The new authorizer configuration to set. Omit to leave the existing configuration unchanged.</p>
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1747
|
+
optionalValue?: AuthorizerConfiguration | undefined;
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* <p>The discovery configuration fields to update on a registry. Omit this structure to leave the discovery configuration unchanged.</p>
|
|
1751
|
+
* @public
|
|
1752
|
+
*/
|
|
1753
|
+
export interface UpdatedDiscoveryConfiguration {
|
|
1754
|
+
/**
|
|
1755
|
+
* <p>Authorization configuration for the registry, with PATCH semantics</p>
|
|
1756
|
+
* @public
|
|
1757
|
+
*/
|
|
1758
|
+
authorizerConfiguration?: UpdatedAuthorizerConfiguration | undefined;
|
|
1759
|
+
}
|
|
1760
|
+
/**
|
|
1761
|
+
* <p>Request structure for updating a registry</p>
|
|
1762
|
+
* @public
|
|
1763
|
+
*/
|
|
1764
|
+
export interface UpdateRegistryRequest {
|
|
1765
|
+
/**
|
|
1766
|
+
* <p>The identifier of the registry to update (ARN or ID)</p>
|
|
1767
|
+
* @public
|
|
1768
|
+
*/
|
|
1769
|
+
registryId: string | undefined;
|
|
1770
|
+
/**
|
|
1771
|
+
* <p>The updated name of the registry</p>
|
|
1772
|
+
* @public
|
|
1773
|
+
*/
|
|
1774
|
+
name?: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>The updated description of the registry</p>
|
|
1777
|
+
* @public
|
|
1778
|
+
*/
|
|
1779
|
+
description?: UpdatedDescription | undefined;
|
|
1780
|
+
/**
|
|
1781
|
+
* <p>The updated discovery configuration. Changing the discovery authorization can break existing consumers that rely on the previous authorization type.</p>
|
|
1782
|
+
* @public
|
|
1783
|
+
*/
|
|
1784
|
+
discoveryConfiguration?: UpdatedDiscoveryConfiguration | undefined;
|
|
1785
|
+
/**
|
|
1786
|
+
* <p>The updated approval configuration. The change applies only to records that move to PENDING_APPROVAL after the update; records already in PENDING_APPROVAL are unaffected.</p>
|
|
1787
|
+
* @public
|
|
1788
|
+
*/
|
|
1789
|
+
approvalConfiguration?: UpdatedApprovalConfiguration | undefined;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* <p>Response structure for updating a registry</p>
|
|
1793
|
+
* @public
|
|
1794
|
+
*/
|
|
1795
|
+
export interface UpdateRegistryResponse {
|
|
1796
|
+
/**
|
|
1797
|
+
* <p>The name of the registry</p>
|
|
1798
|
+
* @public
|
|
1799
|
+
*/
|
|
1800
|
+
name: string | undefined;
|
|
1801
|
+
/**
|
|
1802
|
+
* <p>The description of the registry</p>
|
|
1803
|
+
* @public
|
|
1804
|
+
*/
|
|
1805
|
+
description?: string | undefined;
|
|
1806
|
+
/**
|
|
1807
|
+
* <p>The unique identifier of the registry</p>
|
|
1808
|
+
* @public
|
|
1809
|
+
*/
|
|
1810
|
+
registryId: string | undefined;
|
|
1811
|
+
/**
|
|
1812
|
+
* <p>The ARN of the registry</p>
|
|
1813
|
+
* @public
|
|
1814
|
+
*/
|
|
1815
|
+
registryArn: string | undefined;
|
|
1816
|
+
/**
|
|
1817
|
+
* <p>Discovery configuration for the registry</p>
|
|
1818
|
+
* @public
|
|
1819
|
+
*/
|
|
1820
|
+
discoveryConfiguration?: DiscoveryConfiguration | undefined;
|
|
1821
|
+
/**
|
|
1822
|
+
* <p>Approval configuration for registry records</p>
|
|
1823
|
+
* @public
|
|
1824
|
+
*/
|
|
1825
|
+
approvalConfiguration?: ApprovalConfiguration | undefined;
|
|
1826
|
+
/**
|
|
1827
|
+
* <p>Current status of the registry</p>
|
|
1828
|
+
* @public
|
|
1829
|
+
*/
|
|
1830
|
+
status: RegistryStatus | undefined;
|
|
1831
|
+
/**
|
|
1832
|
+
* <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
|
|
1833
|
+
* @public
|
|
1834
|
+
*/
|
|
1835
|
+
statusReason?: string | undefined;
|
|
1836
|
+
/**
|
|
1837
|
+
* <p>The timestamp when the registry was created</p>
|
|
1838
|
+
* @public
|
|
1839
|
+
*/
|
|
1840
|
+
createdAt: Date | undefined;
|
|
1841
|
+
/**
|
|
1842
|
+
* <p>The timestamp when the registry was last updated</p>
|
|
1843
|
+
* @public
|
|
1844
|
+
*/
|
|
1845
|
+
updatedAt: Date | undefined;
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* @public
|
|
1849
|
+
*/
|
|
1850
|
+
export interface TagResourceRequest {
|
|
1851
|
+
/**
|
|
1852
|
+
* ARN of a taggable Agent Registry resource.
|
|
1853
|
+
* @public
|
|
1854
|
+
*/
|
|
1855
|
+
resourceArn: string | undefined;
|
|
1856
|
+
/**
|
|
1857
|
+
* A map of tag keys to tag values.
|
|
1858
|
+
* @public
|
|
1859
|
+
*/
|
|
1860
|
+
tags: Record<string, string> | undefined;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* @public
|
|
1864
|
+
*/
|
|
1865
|
+
export interface TagResourceResponse {
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* @public
|
|
1869
|
+
*/
|
|
1870
|
+
export interface UntagResourceRequest {
|
|
1871
|
+
/**
|
|
1872
|
+
* ARN of a taggable Agent Registry resource.
|
|
1873
|
+
* @public
|
|
1874
|
+
*/
|
|
1875
|
+
resourceArn: string | undefined;
|
|
1876
|
+
/**
|
|
1877
|
+
* A list of tag keys.
|
|
1878
|
+
* @public
|
|
1879
|
+
*/
|
|
1880
|
+
tagKeys: string[] | undefined;
|
|
1881
|
+
}
|
|
1882
|
+
/**
|
|
1883
|
+
* @public
|
|
1884
|
+
*/
|
|
1885
|
+
export interface UntagResourceResponse {
|
|
1886
|
+
}
|