@aws-sdk/client-agent-registry 3.1172.0 → 3.1174.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.
Files changed (39) hide show
  1. package/dist-cjs/index.js +119 -10
  2. package/dist-es/AgentRegistry.js +2 -0
  3. package/dist-es/AgentRegistryClient.js +1 -0
  4. package/dist-es/auth/httpAuthExtensionConfiguration.js +8 -0
  5. package/dist-es/auth/httpAuthSchemeProvider.js +17 -0
  6. package/dist-es/models/enums.js +29 -0
  7. package/dist-es/pagination/SearchDiscoverableRegistryRecordsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/runtimeConfig.js +17 -1
  10. package/dist-es/runtimeConfig.shared.js +6 -0
  11. package/dist-es/schemas/schemas_0.js +34 -8
  12. package/dist-types/AgentRegistry.d.ts +7 -0
  13. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +4 -1
  14. package/dist-types/auth/httpAuthSchemeProvider.d.ts +9 -1
  15. package/dist-types/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +15 -3
  16. package/dist-types/commands/ListDiscoverableRegistryRecordsCommand.d.ts +2 -2
  17. package/dist-types/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +19 -3
  18. package/dist-types/models/enums.d.ts +54 -0
  19. package/dist-types/models/models_0.d.ts +88 -5
  20. package/dist-types/pagination/SearchDiscoverableRegistryRecordsPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +10 -1
  23. package/dist-types/runtimeConfig.d.ts +13 -1
  24. package/dist-types/runtimeConfig.native.d.ts +10 -1
  25. package/dist-types/runtimeConfig.shared.d.ts +12 -1
  26. package/dist-types/schemas/schemas_0.d.ts +3 -0
  27. package/dist-types/ts3.4/AgentRegistry.d.ts +7 -0
  28. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -0
  29. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +4 -0
  30. package/dist-types/ts3.4/models/enums.d.ts +31 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +21 -0
  32. package/dist-types/ts3.4/pagination/SearchDiscoverableRegistryRecordsPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -1
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +24 -1
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +17 -1
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -1
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  39. package/package.json +2 -1
@@ -27,13 +27,17 @@ const _MFE = "MetadataFilterExpression";
27
27
  const _MSAD = "McpServerAdditionalData";
28
28
  const _MSD = "McpServerDescriptor";
29
29
  const _MTD = "McpToolsDescriptor";
30
+ const _PDU = "PresignedDownloadUrl";
30
31
  const _RNFE = "ResourceNotFoundException";
32
+ const _RRAD = "RegistryRecordArtifactDownload";
31
33
  const _RRE = "RegistryRecordsEntry";
32
34
  const _RREL = "RegistryRecordsEntryList";
33
35
  const _RRF = "RegistryRecordFilter";
34
36
  const _RRFL = "RegistryRecordFilterList";
35
37
  const _RRS = "RegistryRecordSummary";
36
38
  const _RRSL = "RegistryRecordSummaryList";
39
+ const _SACAD = "SignatureAgentCardAdditionalData";
40
+ const _SACD = "SignatureAgentCardDescriptor";
37
41
  const _SDRR = "SearchDiscoverableRegistryRecords";
38
42
  const _SDRRR = "SearchDiscoverableRegistryRecordsRequest";
39
43
  const _SDRRRe = "SearchDiscoverableRegistryRecordsResponse";
@@ -47,14 +51,17 @@ const _a = "agui";
47
51
  const _aAC = "a2aAgentCard";
48
52
  const _aD = "additionalData";
49
53
  const _aSD = "agentSkillsDefinition";
54
+ const _ar = "artifact";
50
55
  const _c = "client";
51
56
  const _cA = "createdAt";
52
57
  const _cM = "customMetadata";
58
+ const _ca = "category";
53
59
  const _cu = "custom";
54
60
  const _d = "data";
55
61
  const _dN = "displayName";
56
62
  const _dSV = "dataSchemaVersion";
57
63
  const _dT = "descriptorTypes";
64
+ const _dU = "downloadUrl";
58
65
  const _de = "description";
59
66
  const _des = "descriptors";
60
67
  const _e = "error";
@@ -82,9 +89,12 @@ const _rR = "registryRecords";
82
89
  const _rT = "recordType";
83
90
  const _rV = "recordVersion";
84
91
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.agentregistry";
92
+ const _sAC = "signatureAgentCard";
85
93
  const _sM = "skillMd";
86
94
  const _sQ = "searchQuery";
95
+ const _sT = "searchType";
87
96
  const _se = "server";
97
+ const _sh = "sha256";
88
98
  const _so = "source";
89
99
  const _st = "status";
90
100
  const _t = "tools";
@@ -143,6 +153,7 @@ var CustomMetadataDocument = [0, n0, _CMD, 8, 15];
143
153
  var Description = [0, n0, _D, 8, 0];
144
154
  var DescriptorData = [0, n0, _DD, 8, 0];
145
155
  var MetadataFilterExpression = [0, n0, _MFE, 8, 15];
156
+ var PresignedDownloadUrl = [0, n0, _PDU, 8, 0];
146
157
  var SearchQuery = [0, n0, _SQ, 8, 0];
147
158
  export var A2aAgentCardDescriptor$ = [3, n0, _AACD,
148
159
  0,
@@ -191,8 +202,8 @@ export var CustomDescriptor$ = [3, n0, _CD,
191
202
  ];
192
203
  export var Descriptors$ = [3, n0, _De,
193
204
  0,
194
- [_mS, _aAC, _aSD, _cu, _h, _a],
195
- [[() => McpServerDescriptor$, 0], [() => A2aAgentCardDescriptor$, 0], [() => AgentSkillsDefinitionDescriptor$, 0], [() => CustomDescriptor$, 0], () => HttpDescriptor$, () => AgUiDescriptor$]
205
+ [_mS, _aAC, _aSD, _cu, _h, _a, _sAC],
206
+ [[() => McpServerDescriptor$, 0], [() => A2aAgentCardDescriptor$, 0], [() => AgentSkillsDefinitionDescriptor$, 0], [() => CustomDescriptor$, 0], () => HttpDescriptor$, () => AgUiDescriptor$, [() => SignatureAgentCardDescriptor$, 0]]
196
207
  ];
197
208
  export var DescriptorSource$ = [3, n0, _DS,
198
209
  0,
@@ -239,6 +250,11 @@ export var McpToolsDescriptor$ = [3, n0, _MTD,
239
250
  [_d, _dSV],
240
251
  [[() => DescriptorData, 0], 0]
241
252
  ];
253
+ export var RegistryRecordArtifactDownload$ = [3, n0, _RRAD,
254
+ 0,
255
+ [_sh, _dU],
256
+ [0, [() => PresignedDownloadUrl, 0]]
257
+ ];
242
258
  export var RegistryRecordFilter$ = [3, n0, _RRF,
243
259
  0,
244
260
  [_n, _v],
@@ -251,18 +267,28 @@ export var RegistryRecordsEntry$ = [3, n0, _RRE,
251
267
  ];
252
268
  export var RegistryRecordSummary$ = [3, n0, _RRS,
253
269
  0,
254
- [_rA, _rAe, _rIe, _n, _rT, _des, _rV, _st, _cA, _uA, _de, _dN, _cM],
255
- [0, 0, 0, 0, 0, [() => Descriptors$, 0], 0, 0, 5, 5, [() => Description, 0], 0, [() => CustomMetadataDocument, 0]], 10
270
+ [_rA, _rAe, _rIe, _n, _rT, _des, _rV, _st, _cA, _uA, _de, _dN, _cM, _ar],
271
+ [0, 0, 0, 0, 0, [() => Descriptors$, 0], 0, 0, 5, 5, [() => Description, 0], 0, [() => CustomMetadataDocument, 0], [() => RegistryRecordArtifactDownload$, 0]], 10
256
272
  ];
257
273
  export var SearchDiscoverableRegistryRecordsRequest$ = [3, n0, _SDRRR,
258
274
  0,
259
- [_sQ, _rIeg, _mR, _f],
260
- [[() => SearchQuery, 0], 64 | 0, 1, [() => MetadataFilterExpression, 0]], 2
275
+ [_sQ, _rIeg, _mR, _f, _sT, _nT],
276
+ [[() => SearchQuery, 0], 64 | 0, 1, [() => MetadataFilterExpression, 0], 0, 0], 2
261
277
  ];
262
278
  export var SearchDiscoverableRegistryRecordsResponse$ = [3, n0, _SDRRRe,
263
279
  0,
264
- [_rR],
265
- [[() => RegistryRecordSummaryList, 0]], 1
280
+ [_rR, _sT, _nT],
281
+ [[() => RegistryRecordSummaryList, 0], 0, 0], 1
282
+ ];
283
+ export var SignatureAgentCardAdditionalData$ = [3, n0, _SACAD,
284
+ 0,
285
+ [_ca],
286
+ [0]
287
+ ];
288
+ export var SignatureAgentCardDescriptor$ = [3, n0, _SACD,
289
+ 0,
290
+ [_d, _dSV, _so, _aD],
291
+ [[() => DescriptorData, 0], 0, () => DescriptorSource$, () => SignatureAgentCardAdditionalData$]
266
292
  ];
267
293
  export var ValidationExceptionField$ = [3, n0, _VEF,
268
294
  0,
@@ -35,6 +35,13 @@ export interface AgentRegistry {
35
35
  * @returns AsyncIterable of {@link ListDiscoverableRegistryRecordsCommandOutput}.
36
36
  */
37
37
  paginateListDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDiscoverableRegistryRecordsCommandOutput>;
38
+ /**
39
+ * @see {@link SearchDiscoverableRegistryRecordsCommand}
40
+ * @param args - command input.
41
+ * @param paginationConfig - optional pagination config.
42
+ * @returns AsyncIterable of {@link SearchDiscoverableRegistryRecordsCommandOutput}.
43
+ */
44
+ paginateSearchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchDiscoverableRegistryRecordsCommandOutput>;
38
45
  }
39
46
  /**
40
47
  * Agent Registry lets callers discover, list, and retrieve approved records published to a registry.
@@ -1,4 +1,4 @@
1
- import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
1
+ import { type AwsCredentialIdentity, type AwsCredentialIdentityProvider, type HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
2
  import type { AgentRegistryHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -10,6 +10,8 @@ export interface HttpAuthExtensionConfiguration {
10
10
  httpAuthSchemeProvider(): AgentRegistryHttpAuthSchemeProvider;
11
11
  setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
12
  credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
14
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
15
  }
14
16
  /**
15
17
  * @internal
@@ -18,6 +20,7 @@ export type HttpAuthRuntimeConfig = Partial<{
18
20
  httpAuthSchemes: HttpAuthScheme[];
19
21
  httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
20
22
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
23
+ token: TokenIdentity | TokenIdentityProvider;
21
24
  }>;
22
25
  /**
23
26
  * @internal
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
- import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
2
+ import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
3
3
  import { type AgentRegistryClientResolvedConfig } from "../AgentRegistryClient";
4
4
  /**
5
5
  * @internal
@@ -46,6 +46,10 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
46
46
  * @internal
47
47
  */
48
48
  httpAuthSchemeProvider?: AgentRegistryHttpAuthSchemeProvider;
49
+ /**
50
+ * The token used to authenticate requests.
51
+ */
52
+ token?: TokenIdentity | TokenIdentityProvider;
49
53
  }
50
54
  /**
51
55
  * @internal
@@ -68,6 +72,10 @@ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedCon
68
72
  * @internal
69
73
  */
70
74
  readonly httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
75
+ /**
76
+ * The token used to authenticate requests.
77
+ */
78
+ readonly token?: TokenIdentityProvider;
71
79
  }
72
80
  /**
73
81
  * @internal
@@ -24,7 +24,7 @@ declare const BatchGetDiscoverableRegistryRecordCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Retrieves multiple discoverable registry records by ID from a single registry. Records that cannot be retrieved are reported individually in the <code>errors</code> list rather than failing the entire request.</p>
27
+ * <p> Retrieves multiple discoverable registry records by ID from a single registry. Records that cannot be retrieved are reported individually in the <code>errors</code> list rather than failing the entire request. For each skill record that has a skill package, the operation also returns <code>artifact</code>. It contains a short-lived download URL and a SHA-256 checksum for the package of the record's latest approved revision. If the registry can't create a download URL for a package, the whole request fails.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -54,7 +54,7 @@ declare const BatchGetDiscoverableRegistryRecordCommand_base: {
54
54
  * // name: "STRING_VALUE", // required
55
55
  * // description: "STRING_VALUE",
56
56
  * // displayName: "STRING_VALUE",
57
- * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
57
+ * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
58
58
  * // descriptors: { // Descriptors
59
59
  * // mcpServer: { // McpServerDescriptor
60
60
  * // data: "STRING_VALUE",
@@ -112,12 +112,24 @@ declare const BatchGetDiscoverableRegistryRecordCommand_base: {
112
112
  * // },
113
113
  * // },
114
114
  * // },
115
+ * // signatureAgentCard: { // SignatureAgentCardDescriptor
116
+ * // data: "STRING_VALUE",
117
+ * // dataSchemaVersion: "STRING_VALUE",
118
+ * // source: "<DescriptorSource>",
119
+ * // additionalData: { // SignatureAgentCardAdditionalData
120
+ * // category: "advertising" || "archiver" || "content_fetcher" || "email_client" || "http_library" || "link_checker" || "miscellaneous" || "monitoring" || "page_preview" || "scraping_framework" || "search_engine" || "security" || "seo" || "social_media" || "ai_training" || "ai_search" || "ai_assistant" || "ai_content_optimization",
121
+ * // },
122
+ * // },
115
123
  * // },
116
124
  * // recordVersion: "STRING_VALUE", // required
117
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
125
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
118
126
  * // createdAt: new Date("TIMESTAMP"), // required
119
127
  * // updatedAt: new Date("TIMESTAMP"), // required
120
128
  * // customMetadata: "DOCUMENT_VALUE",
129
+ * // artifact: { // RegistryRecordArtifactDownload
130
+ * // sha256: "STRING_VALUE",
131
+ * // downloadUrl: "STRING_VALUE",
132
+ * // },
121
133
  * // },
122
134
  * // ],
123
135
  * // errors: [ // BatchGetDiscoverableRegistryRecordErrorList // required
@@ -57,9 +57,9 @@ declare const ListDiscoverableRegistryRecordsCommand_base: {
57
57
  * // name: "STRING_VALUE", // required
58
58
  * // description: "STRING_VALUE",
59
59
  * // displayName: "STRING_VALUE",
60
- * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
60
+ * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
61
61
  * // recordVersion: "STRING_VALUE", // required
62
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
62
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
63
63
  * // createdAt: new Date("TIMESTAMP"), // required
64
64
  * // updatedAt: new Date("TIMESTAMP"), // required
65
65
  * // descriptorTypes: [ // DescriptorTypeList
@@ -24,7 +24,7 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Searches the discoverable registry records in a registry using a natural language query. Returns metadata for the matching records ordered by relevance.</p>
27
+ * <p> Searches the discoverable registry records in a registry using a natural language query. Returns metadata for the matching records ordered by relevance.</p> <p> Returns at most 1000 results across all pages when <code>searchType</code> is <code>KEYWORD</code>, and at most 20 results when it is <code>HYBRID</code> or <code>SEMANTIC</code>. To retrieve more records, refine the query or filters, or use <code>ListDiscoverableRegistryRecords</code> to list every record.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -40,6 +40,8 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
40
40
  * ],
41
41
  * maxResults: Number("int"),
42
42
  * filters: "DOCUMENT_VALUE",
43
+ * searchType: "HYBRID" || "SEMANTIC" || "KEYWORD",
44
+ * nextToken: "STRING_VALUE",
43
45
  * };
44
46
  * const command = new SearchDiscoverableRegistryRecordsCommand(input);
45
47
  * const response = await client.send(command);
@@ -52,7 +54,7 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
52
54
  * // name: "STRING_VALUE", // required
53
55
  * // description: "STRING_VALUE",
54
56
  * // displayName: "STRING_VALUE",
55
- * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY", // required
57
+ * // recordType: "MCP" || "AGENT" || "CUSTOM" || "SKILL" || "GATEWAY" || "WEB_BOT", // required
56
58
  * // descriptors: { // Descriptors
57
59
  * // mcpServer: { // McpServerDescriptor
58
60
  * // data: "STRING_VALUE",
@@ -110,14 +112,28 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
110
112
  * // },
111
113
  * // },
112
114
  * // },
115
+ * // signatureAgentCard: { // SignatureAgentCardDescriptor
116
+ * // data: "STRING_VALUE",
117
+ * // dataSchemaVersion: "STRING_VALUE",
118
+ * // source: "<DescriptorSource>",
119
+ * // additionalData: { // SignatureAgentCardAdditionalData
120
+ * // category: "advertising" || "archiver" || "content_fetcher" || "email_client" || "http_library" || "link_checker" || "miscellaneous" || "monitoring" || "page_preview" || "scraping_framework" || "search_engine" || "security" || "seo" || "social_media" || "ai_training" || "ai_search" || "ai_assistant" || "ai_content_optimization",
121
+ * // },
122
+ * // },
113
123
  * // },
114
124
  * // recordVersion: "STRING_VALUE", // required
115
- * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
125
+ * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "CREATE_PENDING_AUTH" || "UPDATE_PENDING_AUTH", // required
116
126
  * // createdAt: new Date("TIMESTAMP"), // required
117
127
  * // updatedAt: new Date("TIMESTAMP"), // required
118
128
  * // customMetadata: "DOCUMENT_VALUE",
129
+ * // artifact: { // RegistryRecordArtifactDownload
130
+ * // sha256: "STRING_VALUE",
131
+ * // downloadUrl: "STRING_VALUE",
132
+ * // },
119
133
  * // },
120
134
  * // ],
135
+ * // searchType: "HYBRID" || "SEMANTIC" || "KEYWORD",
136
+ * // nextToken: "STRING_VALUE",
121
137
  * // };
122
138
  *
123
139
  * ```
@@ -11,6 +11,34 @@ export declare const BatchGetDiscoverableRegistryRecordErrorCode: {
11
11
  * @public
12
12
  */
13
13
  export type BatchGetDiscoverableRegistryRecordErrorCode = (typeof BatchGetDiscoverableRegistryRecordErrorCode)[keyof typeof BatchGetDiscoverableRegistryRecordErrorCode];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const BotCategory: {
19
+ readonly ADVERTISING: "advertising";
20
+ readonly AI_ASSISTANT: "ai_assistant";
21
+ readonly AI_CONTENT_OPTIMIZATION: "ai_content_optimization";
22
+ readonly AI_SEARCH: "ai_search";
23
+ readonly AI_TRAINING: "ai_training";
24
+ readonly ARCHIVER: "archiver";
25
+ readonly CONTENT_FETCHER: "content_fetcher";
26
+ readonly EMAIL_CLIENT: "email_client";
27
+ readonly HTTP_LIBRARY: "http_library";
28
+ readonly LINK_CHECKER: "link_checker";
29
+ readonly MISCELLANEOUS: "miscellaneous";
30
+ readonly MONITORING: "monitoring";
31
+ readonly PAGE_PREVIEW: "page_preview";
32
+ readonly SCRAPING_FRAMEWORK: "scraping_framework";
33
+ readonly SEARCH_ENGINE: "search_engine";
34
+ readonly SECURITY: "security";
35
+ readonly SEO: "seo";
36
+ readonly SOCIAL_MEDIA: "social_media";
37
+ };
38
+ /**
39
+ * @public
40
+ */
41
+ export type BotCategory = (typeof BotCategory)[keyof typeof BotCategory];
14
42
  /**
15
43
  * @public
16
44
  * @enum
@@ -21,6 +49,7 @@ export declare const RecordType: {
21
49
  readonly GATEWAY: "GATEWAY";
22
50
  readonly MCP: "MCP";
23
51
  readonly SKILL: "SKILL";
52
+ readonly WEB_BOT: "WEB_BOT";
24
53
  };
25
54
  /**
26
55
  * @public
@@ -33,12 +62,14 @@ export type RecordType = (typeof RecordType)[keyof typeof RecordType];
33
62
  export declare const RegistryRecordStatus: {
34
63
  readonly APPROVED: "APPROVED";
35
64
  readonly CREATE_FAILED: "CREATE_FAILED";
65
+ readonly CREATE_PENDING_AUTH: "CREATE_PENDING_AUTH";
36
66
  readonly CREATING: "CREATING";
37
67
  readonly DEPRECATED: "DEPRECATED";
38
68
  readonly DRAFT: "DRAFT";
39
69
  readonly PENDING_APPROVAL: "PENDING_APPROVAL";
40
70
  readonly REJECTED: "REJECTED";
41
71
  readonly UPDATE_FAILED: "UPDATE_FAILED";
72
+ readonly UPDATE_PENDING_AUTH: "UPDATE_PENDING_AUTH";
42
73
  readonly UPDATING: "UPDATING";
43
74
  };
44
75
  /**
@@ -55,6 +86,7 @@ export declare const ValidationExceptionReason: {
55
86
  readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
56
87
  readonly RESOURCE_CONFLICT: "ResourceConflict";
57
88
  readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
89
+ readonly UNSUPPORTED_IN_REGION: "UnsupportedInRegion";
58
90
  };
59
91
  /**
60
92
  * @public
@@ -75,3 +107,25 @@ export declare const RegistryRecordFilterName: {
75
107
  * @public
76
108
  */
77
109
  export type RegistryRecordFilterName = (typeof RegistryRecordFilterName)[keyof typeof RegistryRecordFilterName];
110
+ /**
111
+ * @public
112
+ * @enum
113
+ */
114
+ export declare const SearchType: {
115
+ /**
116
+ * <p> Combines keyword ranking and semantic ranking. Use this type when a query mixes specific terms with a natural language description.</p>
117
+ */
118
+ readonly HYBRID: "HYBRID";
119
+ /**
120
+ * <p> Ranks records by keyword match between the query terms and the record name, description, descriptors, and custom metadata text values. Use this type for queries built from specific terms, such as tool names or API names.</p>
121
+ */
122
+ readonly KEYWORD: "KEYWORD";
123
+ /**
124
+ * <p> Ranks records by semantic similarity to the query. Use this type for natural language descriptions of a task. Returns the most similar records even when none of them closely matches the query.</p>
125
+ */
126
+ readonly SEMANTIC: "SEMANTIC";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type SearchType = (typeof SearchType)[keyof typeof SearchType];
@@ -1,12 +1,12 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { BatchGetDiscoverableRegistryRecordErrorCode, RecordType, RegistryRecordFilterName, RegistryRecordStatus } from "./enums";
2
+ import type { BatchGetDiscoverableRegistryRecordErrorCode, BotCategory, RecordType, RegistryRecordFilterName, RegistryRecordStatus, SearchType } from "./enums";
3
3
  /**
4
4
  * <p> A URL-based descriptor source that identifies where descriptor content is retrieved from.</p>
5
5
  * @public
6
6
  */
7
7
  export interface DescriptorSourceFromUrl {
8
8
  /**
9
- * <p> The URL from which the descriptor content is retrieved.</p>
9
+ * <p> The URL from which the descriptor content is retrieved. For an agent skill that synchronizes its SKILL.md from GitHub, this is the GitHub folder URL. The data plane doesn't return Amazon S3 (<code>s3://</code>) source URLs.</p>
10
10
  * @public
11
11
  */
12
12
  url: string | undefined;
@@ -95,6 +95,22 @@ export interface BatchGetDiscoverableRegistryRecordError {
95
95
  */
96
96
  message?: string | undefined;
97
97
  }
98
+ /**
99
+ * <p>The skill package of a registry record, as a short-lived download URL and the package's SHA-256 checksum. Responses never include the package bytes.</p>
100
+ * @public
101
+ */
102
+ export interface RegistryRecordArtifactDownload {
103
+ /**
104
+ * <p>The SHA-256 checksum of the package, as 64 lowercase hexadecimal characters. The download response carries no signature that you can check, so compare the checksum of the file that you download with this value before you use the package.</p>
105
+ * @public
106
+ */
107
+ sha256?: string | undefined;
108
+ /**
109
+ * <p>A presigned Amazon S3 URL that downloads the package. The URL is valid for up to 5 minutes, and the response doesn't include its expiry time. To get a new URL, call the operation again. Anyone who has the URL can download the package until it expires, so don't log, store, or share it.</p>
110
+ * @public
111
+ */
112
+ downloadUrl?: string | undefined;
113
+ }
98
114
  /**
99
115
  * <p> Markdown-format descriptor containing an agent skills document.</p>
100
116
  * @public
@@ -234,6 +250,43 @@ export interface McpServerDescriptor {
234
250
  */
235
251
  source?: DescriptorSource | undefined;
236
252
  }
253
+ /**
254
+ * <p>The additional data for a signature agent card descriptor, such as the bot category of the web bot.</p>
255
+ * @public
256
+ */
257
+ export interface SignatureAgentCardAdditionalData {
258
+ /**
259
+ * <p>The bot category that describes the purpose of the web bot identified by the signature agent card descriptor.</p>
260
+ * @public
261
+ */
262
+ category?: BotCategory | undefined;
263
+ }
264
+ /**
265
+ * <p> Descriptor that defines the content of a signature agent card, which identifies a web bot and references the JSON Web Key Set (JWKS) used to verify its HTTP message signatures.</p>
266
+ * @public
267
+ */
268
+ export interface SignatureAgentCardDescriptor {
269
+ /**
270
+ * <p> The signature agent card descriptor content, serialized as descriptor payload data.</p>
271
+ * @public
272
+ */
273
+ data?: string | undefined;
274
+ /**
275
+ * <p> The schema version of the descriptor payload.</p>
276
+ * @public
277
+ */
278
+ dataSchemaVersion?: string | undefined;
279
+ /**
280
+ * <p> The source location from which the signature agent card descriptor content was retrieved.</p>
281
+ * @public
282
+ */
283
+ source?: DescriptorSource | undefined;
284
+ /**
285
+ * <p> Additional data for the signature agent card, such as its AWS WAF bot category.</p>
286
+ * @public
287
+ */
288
+ additionalData?: SignatureAgentCardAdditionalData | undefined;
289
+ }
237
290
  /**
238
291
  * <p> The protocol-specific descriptors that describe how to connect to and use the registry record.</p>
239
292
  * @public
@@ -269,6 +322,11 @@ export interface Descriptors {
269
322
  * @public
270
323
  */
271
324
  agui?: AgUiDescriptor | undefined;
325
+ /**
326
+ * <p> The signature agent card descriptor, populated when the record represents a web bot. It identifies the JSON Web Key Set (JWKS) used to verify the bot's HTTP message signatures.</p>
327
+ * @public
328
+ */
329
+ signatureAgentCard?: SignatureAgentCardDescriptor | undefined;
272
330
  }
273
331
  /**
274
332
  * <p> Summary information about a registry record, including its descriptors.</p>
@@ -340,6 +398,11 @@ export interface RegistryRecordSummary {
340
398
  * @public
341
399
  */
342
400
  customMetadata?: __DocumentType | undefined;
401
+ /**
402
+ * <p> The skill package of the record's latest approved revision, as the package's SHA-256 checksum and a download URL that is valid for up to 5 minutes. Only <code>BatchGetDiscoverableRegistryRecord</code> returns this member, not <code>SearchDiscoverableRegistryRecords</code>. Absent when the record has no skill package.</p>
403
+ * @public
404
+ */
405
+ artifact?: RegistryRecordArtifactDownload | undefined;
343
406
  }
344
407
  /**
345
408
  * @public
@@ -499,7 +562,7 @@ export interface ListDiscoverableRegistryRecordsResponse {
499
562
  */
500
563
  export interface SearchDiscoverableRegistryRecordsRequest {
501
564
  /**
502
- * <p> The natural language query to search for matching registry records.</p>
565
+ * <p> The natural language query to search for matching registry records. If you specify an empty string, the operation returns the records that match the <code>filters</code>, most recently updated first, up to the result limit for the <code>searchType</code>.</p>
503
566
  * @public
504
567
  */
505
568
  searchQuery: string | undefined;
@@ -509,7 +572,7 @@ export interface SearchDiscoverableRegistryRecordsRequest {
509
572
  */
510
573
  registryIds: string[] | undefined;
511
574
  /**
512
- * <p> The maximum number of results to return. Valid values are 1 through 20. The default value is 10.</p>
575
+ * <p> The maximum number of results to return in one page. Valid values are 1 through 50 when <code>searchType</code> is <code>KEYWORD</code>, and 1 through 20 when it is <code>HYBRID</code> or <code>SEMANTIC</code>. The default value is 10.</p>
513
576
  * @public
514
577
  */
515
578
  maxResults?: number | undefined;
@@ -518,14 +581,34 @@ export interface SearchDiscoverableRegistryRecordsRequest {
518
581
  * @public
519
582
  */
520
583
  filters?: __DocumentType | undefined;
584
+ /**
585
+ * <p> Specifies how the service ranks registry records against the search query. If you omit this parameter, the service uses <code>HYBRID</code> in Amazon Web Services Regions that support semantic search and <code>KEYWORD</code> in Regions that do not. The response reports the search type that the service used. Valid values are the following:</p> <ul> <li> <p> <code>KEYWORD</code> – Ranks records by keyword match between the query terms and the record name, description, descriptors, and custom metadata text values. Available in every Amazon Web Services Region.</p> </li> <li> <p> <code>SEMANTIC</code> – Ranks records by semantic similarity to the query and returns the most similar records, up to <code>maxResults</code>, even when none of them closely matches the query.</p> </li> <li> <p> <code>HYBRID</code> – Combines keyword ranking and semantic ranking.</p> </li> </ul> <p> <code>HYBRID</code> and <code>SEMANTIC</code> are available in a limited number of Regions. If you specify either one in a Region that does not support semantic search, the request fails with a <code>ValidationException</code> that has the reason <code>UnsupportedInRegion</code>.</p>
586
+ * @public
587
+ */
588
+ searchType?: SearchType | undefined;
589
+ /**
590
+ * <p> The pagination token from a previous response. Use it to retrieve the next page of results, and send the same <code>searchQuery</code>, <code>registryIds</code>, <code>filters</code>, and <code>searchType</code> that you used for the first page. If any of them differ, the request fails with a <code>ValidationException</code>. A pagination token expires 15 minutes after the service returns the first page.</p>
591
+ * @public
592
+ */
593
+ nextToken?: string | undefined;
521
594
  }
522
595
  /**
523
596
  * @public
524
597
  */
525
598
  export interface SearchDiscoverableRegistryRecordsResponse {
526
599
  /**
527
- * <p> The registry records that match the search query, ordered by relevance.</p>
600
+ * <p> The registry records that match the search query, ordered by relevance. A page can contain fewer than <code>maxResults</code> records, or none, even when the response includes a <code>nextToken</code>. To retrieve every result, continue until the response has no <code>nextToken</code>.</p>
528
601
  * @public
529
602
  */
530
603
  registryRecords: RegistryRecordSummary[] | undefined;
604
+ /**
605
+ * <p> Specifies the search type that the service used to rank the returned records. If you omitted <code>searchType</code> in the request, this is the default for the Amazon Web Services Region: <code>HYBRID</code> where semantic search is supported, and <code>KEYWORD</code> elsewhere.</p>
606
+ * @public
607
+ */
608
+ searchType?: SearchType | undefined;
609
+ /**
610
+ * <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, or when the search has returned the maximum number of results for its search type.</p>
611
+ * @public
612
+ */
613
+ nextToken?: string | undefined;
531
614
  }
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { SearchDiscoverableRegistryRecordsCommandInput, SearchDiscoverableRegistryRecordsCommandOutput } from "../commands/SearchDiscoverableRegistryRecordsCommand";
3
+ import type { AgentRegistryPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchDiscoverableRegistryRecords: (config: AgentRegistryPaginationConfiguration, input: SearchDiscoverableRegistryRecordsCommandInput, ...rest: any[]) => Paginator<SearchDiscoverableRegistryRecordsCommandOutput>;
@@ -1,2 +1,3 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListDiscoverableRegistryRecordsPaginator";
3
+ export * from "./SearchDiscoverableRegistryRecordsPaginator";
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
20
20
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
21
21
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
22
22
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
23
+ token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
23
24
  apiVersion: string;
24
25
  base64Decoder: import("@smithy/types").Decoder;
25
26
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +30,15 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
29
30
  }) => import("@smithy/types").EndpointV2;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
32
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
33
+ httpAuthSchemes: ({
34
+ schemeId: string;
35
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
36
+ signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
37
+ } | {
38
+ schemeId: string;
39
+ identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
40
+ signer: import("@smithy/core").HttpBearerAuthSigner;
41
+ })[];
33
42
  logger: import("@smithy/types").Logger;
34
43
  protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
35
44
  protocolSettings: {
@@ -1,4 +1,7 @@
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
+ import { HttpBearerAuthSigner } from "@smithy/core";
1
3
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
4
+ import type { IdentityProviderConfig } from "@smithy/types";
2
5
  import type { AgentRegistryClientConfig } from "./AgentRegistryClient";
3
6
  /**
4
7
  * @internal
@@ -18,6 +21,7 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
18
21
  signingRegion?: string;
19
22
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
20
23
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
24
+ token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
21
25
  apiVersion: string;
22
26
  base64Decoder: import("@smithy/types").Decoder;
23
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -27,7 +31,6 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
27
31
  }) => import("@smithy/types").EndpointV2;
28
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
29
33
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AgentRegistryHttpAuthSchemeProvider;
30
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
31
34
  logger: import("@smithy/types").Logger;
32
35
  protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
33
36
  protocolSettings: {
@@ -46,6 +49,15 @@ export declare const getRuntimeConfig: (config: AgentRegistryClientConfig) => {
46
49
  credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
47
50
  defaultSocketTimeout: number | undefined;
48
51
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
52
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
53
+ schemeId: string;
54
+ identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
55
+ signer: AwsSdkSigV4Signer;
56
+ } | {
57
+ schemeId: string;
58
+ identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>;
59
+ signer: HttpBearerAuthSigner;
60
+ })[];
49
61
  maxAttempts: number | import("@smithy/types").Provider<number>;
50
62
  region: string | import("@smithy/types").Provider<string>;
51
63
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;