@aws-sdk/client-agent-registry 3.1105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +202 -0
  3. package/dist-cjs/index.js +729 -0
  4. package/dist-es/AgentRegistry.js +17 -0
  5. package/dist-es/AgentRegistryClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/BatchGetDiscoverableRegistryRecordCommand.js +4 -0
  10. package/dist-es/commands/ListDiscoverableRegistryRecordsCommand.js +4 -0
  11. package/dist-es/commands/SearchDiscoverableRegistryRecordsCommand.js +4 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/endpoint/EndpointParameters.js +9 -0
  14. package/dist-es/endpoint/bdd.js +22 -0
  15. package/dist-es/endpoint/endpointResolver.js +14 -0
  16. package/dist-es/extensionConfiguration.js +1 -0
  17. package/dist-es/index.js +10 -0
  18. package/dist-es/models/AgentRegistryServiceException.js +8 -0
  19. package/dist-es/models/enums.js +33 -0
  20. package/dist-es/models/errors.js +77 -0
  21. package/dist-es/models/models_0.js +1 -0
  22. package/dist-es/pagination/Interfaces.js +1 -0
  23. package/dist-es/pagination/ListDiscoverableRegistryRecordsPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/runtimeConfig.browser.js +29 -0
  26. package/dist-es/runtimeConfig.js +43 -0
  27. package/dist-es/runtimeConfig.native.js +9 -0
  28. package/dist-es/runtimeConfig.shared.js +40 -0
  29. package/dist-es/runtimeExtensions.js +9 -0
  30. package/dist-es/schemas/schemas_0.js +286 -0
  31. package/dist-types/AgentRegistry.d.ts +38 -0
  32. package/dist-types/AgentRegistryClient.d.ts +189 -0
  33. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  34. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +162 -0
  37. package/dist-types/commands/ListDiscoverableRegistryRecordsCommand.d.ts +114 -0
  38. package/dist-types/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +152 -0
  39. package/dist-types/commands/index.d.ts +3 -0
  40. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  41. package/dist-types/endpoint/bdd.d.ts +2 -0
  42. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  43. package/dist-types/extensionConfiguration.d.ts +9 -0
  44. package/dist-types/index.d.ts +18 -0
  45. package/dist-types/models/AgentRegistryServiceException.d.ts +14 -0
  46. package/dist-types/models/enums.d.ts +76 -0
  47. package/dist-types/models/errors.d.ts +86 -0
  48. package/dist-types/models/models_0.d.ts +489 -0
  49. package/dist-types/pagination/Interfaces.d.ts +8 -0
  50. package/dist-types/pagination/ListDiscoverableRegistryRecordsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/index.d.ts +2 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  53. package/dist-types/runtimeConfig.d.ts +57 -0
  54. package/dist-types/runtimeConfig.native.d.ts +56 -0
  55. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  56. package/dist-types/runtimeExtensions.d.ts +17 -0
  57. package/dist-types/schemas/schemas_0.d.ts +41 -0
  58. package/dist-types/ts3.4/AgentRegistry.d.ts +67 -0
  59. package/dist-types/ts3.4/AgentRegistryClient.d.ts +119 -0
  60. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  61. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  62. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  63. package/dist-types/ts3.4/commands/BatchGetDiscoverableRegistryRecordCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/ListDiscoverableRegistryRecordsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/SearchDiscoverableRegistryRecordsCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  67. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
  68. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  69. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  70. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  71. package/dist-types/ts3.4/index.d.ts +13 -0
  72. package/dist-types/ts3.4/models/AgentRegistryServiceException.d.ts +9 -0
  73. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  74. package/dist-types/ts3.4/models/errors.d.ts +36 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +124 -0
  76. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  77. package/dist-types/ts3.4/pagination/ListDiscoverableRegistryRecordsPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  83. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  84. package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
  85. package/package.json +69 -0
@@ -0,0 +1,286 @@
1
+ const _AACD = "A2aAgentCardDescriptor";
2
+ const _ADE = "AccessDeniedException";
3
+ const _ASAD = "AgentSkillsAdditionalData";
4
+ const _ASDD = "AgentSkillsDefinitionDescriptor";
5
+ const _ASMD = "AgentSkillsMdDescriptor";
6
+ const _BGDRR = "BatchGetDiscoverableRegistryRecord";
7
+ const _BGDRRE = "BatchGetDiscoverableRegistryRecordError";
8
+ const _BGDRREL = "BatchGetDiscoverableRegistryRecordErrorList";
9
+ const _BGDRRR = "BatchGetDiscoverableRegistryRecordRequest";
10
+ const _BGDRRRa = "BatchGetDiscoverableRegistryRecordResponse";
11
+ const _CD = "CustomDescriptor";
12
+ const _D = "Description";
13
+ const _DD = "DescriptorData";
14
+ const _DRRS = "DiscoverableRegistryRecordSummary";
15
+ const _DRRSL = "DiscoverableRegistryRecordSummaryList";
16
+ const _DS = "DescriptorSource";
17
+ const _DSFU = "DescriptorSourceFromUrl";
18
+ const _De = "Descriptors";
19
+ const _ISE = "InternalServerException";
20
+ const _LDRR = "ListDiscoverableRegistryRecords";
21
+ const _LDRRR = "ListDiscoverableRegistryRecordsRequest";
22
+ const _LDRRRi = "ListDiscoverableRegistryRecordsResponse";
23
+ const _MFE = "MetadataFilterExpression";
24
+ const _MSAD = "McpServerAdditionalData";
25
+ const _MSD = "McpServerDescriptor";
26
+ const _MTD = "McpToolsDescriptor";
27
+ const _RNFE = "ResourceNotFoundException";
28
+ const _RRE = "RegistryRecordsEntry";
29
+ const _RREL = "RegistryRecordsEntryList";
30
+ const _RRF = "RegistryRecordFilter";
31
+ const _RRFL = "RegistryRecordFilterList";
32
+ const _RRS = "RegistryRecordSummary";
33
+ const _RRSL = "RegistryRecordSummaryList";
34
+ const _SDRR = "SearchDiscoverableRegistryRecords";
35
+ const _SDRRR = "SearchDiscoverableRegistryRecordsRequest";
36
+ const _SDRRRe = "SearchDiscoverableRegistryRecordsResponse";
37
+ const _SQ = "SearchQuery";
38
+ const _TE = "ThrottlingException";
39
+ const _UE = "UnauthorizedException";
40
+ const _VE = "ValidationException";
41
+ const _VEF = "ValidationExceptionField";
42
+ const _VEFL = "ValidationExceptionFieldList";
43
+ const _aAC = "a2aAgentCard";
44
+ const _aD = "additionalData";
45
+ const _aSD = "agentSkillsDefinition";
46
+ const _c = "client";
47
+ const _cA = "createdAt";
48
+ const _cu = "custom";
49
+ const _d = "data";
50
+ const _dN = "displayName";
51
+ const _dSV = "dataSchemaVersion";
52
+ const _de = "description";
53
+ const _des = "descriptors";
54
+ const _e = "error";
55
+ const _eC = "errorCode";
56
+ const _en = "entries";
57
+ const _er = "errors";
58
+ const _f = "filters";
59
+ const _fL = "fieldList";
60
+ const _fU = "fromUrl";
61
+ const _h = "http";
62
+ const _hE = "httpError";
63
+ const _m = "message";
64
+ const _mR = "maxResults";
65
+ const _mS = "mcpServer";
66
+ const _n = "name";
67
+ const _nT = "nextToken";
68
+ const _r = "reason";
69
+ const _rA = "registryArn";
70
+ const _rAe = "recordArn";
71
+ const _rI = "registryId";
72
+ const _rIe = "recordId";
73
+ const _rIec = "recordIds";
74
+ const _rIeg = "registryIds";
75
+ const _rR = "registryRecords";
76
+ const _rT = "recordType";
77
+ const _rV = "recordVersion";
78
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.agentregistry";
79
+ const _sM = "skillMd";
80
+ const _sQ = "searchQuery";
81
+ const _se = "server";
82
+ const _so = "source";
83
+ const _st = "status";
84
+ const _t = "tools";
85
+ const _u = "url";
86
+ const _uA = "updatedAt";
87
+ const _v = "values";
88
+ const n0 = "com.amazonaws.agentregistry";
89
+ import { TypeRegistry } from "@smithy/core/schema";
90
+ import { AgentRegistryServiceException } from "../models/AgentRegistryServiceException";
91
+ import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ValidationException, } from "../models/errors";
92
+ const _s_registry = TypeRegistry.for(_s);
93
+ export var AgentRegistryServiceException$ = [-3, _s, "AgentRegistryServiceException", 0, [], []];
94
+ _s_registry.registerError(AgentRegistryServiceException$, AgentRegistryServiceException);
95
+ const n0_registry = TypeRegistry.for(n0);
96
+ export var AccessDeniedException$ = [-3, n0, _ADE,
97
+ { [_e]: _c, [_hE]: 403 },
98
+ [_m],
99
+ [0]
100
+ ];
101
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
102
+ export var InternalServerException$ = [-3, n0, _ISE,
103
+ { [_e]: _se, [_hE]: 500 },
104
+ [_m],
105
+ [0]
106
+ ];
107
+ n0_registry.registerError(InternalServerException$, InternalServerException);
108
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
109
+ { [_e]: _c, [_hE]: 404 },
110
+ [_m],
111
+ [0]
112
+ ];
113
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
114
+ export var ThrottlingException$ = [-3, n0, _TE,
115
+ { [_e]: _c, [_hE]: 429 },
116
+ [_m],
117
+ [0]
118
+ ];
119
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
120
+ export var UnauthorizedException$ = [-3, n0, _UE,
121
+ { [_e]: _c, [_hE]: 401 },
122
+ [_m],
123
+ [0]
124
+ ];
125
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
126
+ export var ValidationException$ = [-3, n0, _VE,
127
+ { [_e]: _c, [_hE]: 400 },
128
+ [_m, _r, _fL],
129
+ [0, 0, () => ValidationExceptionFieldList], 2
130
+ ];
131
+ n0_registry.registerError(ValidationException$, ValidationException);
132
+ export const errorTypeRegistries = [
133
+ _s_registry,
134
+ n0_registry,
135
+ ];
136
+ var Description = [0, n0, _D, 8, 0];
137
+ var DescriptorData = [0, n0, _DD, 8, 0];
138
+ var MetadataFilterExpression = [0, n0, _MFE, 8, 15];
139
+ var SearchQuery = [0, n0, _SQ, 8, 0];
140
+ export var A2aAgentCardDescriptor$ = [3, n0, _AACD,
141
+ 0,
142
+ [_d, _dSV, _so],
143
+ [[() => DescriptorData, 0], 0, () => DescriptorSource$]
144
+ ];
145
+ export var AgentSkillsAdditionalData$ = [3, n0, _ASAD,
146
+ 0,
147
+ [_sM],
148
+ [[() => AgentSkillsMdDescriptor$, 0]]
149
+ ];
150
+ export var AgentSkillsDefinitionDescriptor$ = [3, n0, _ASDD,
151
+ 0,
152
+ [_d, _dSV, _aD],
153
+ [[() => DescriptorData, 0], 0, [() => AgentSkillsAdditionalData$, 0]]
154
+ ];
155
+ export var AgentSkillsMdDescriptor$ = [3, n0, _ASMD,
156
+ 0,
157
+ [_d, _dSV, _so],
158
+ [[() => DescriptorData, 0], 0, () => DescriptorSource$]
159
+ ];
160
+ export var BatchGetDiscoverableRegistryRecordError$ = [3, n0, _BGDRRE,
161
+ 0,
162
+ [_rI, _rIe, _eC, _m],
163
+ [0, 0, 0, 0], 3
164
+ ];
165
+ export var BatchGetDiscoverableRegistryRecordRequest$ = [3, n0, _BGDRRR,
166
+ 0,
167
+ [_en],
168
+ [() => RegistryRecordsEntryList], 1
169
+ ];
170
+ export var BatchGetDiscoverableRegistryRecordResponse$ = [3, n0, _BGDRRRa,
171
+ 0,
172
+ [_rR, _er],
173
+ [[() => RegistryRecordSummaryList, 0], () => BatchGetDiscoverableRegistryRecordErrorList], 2
174
+ ];
175
+ export var CustomDescriptor$ = [3, n0, _CD,
176
+ 0,
177
+ [_d],
178
+ [[() => DescriptorData, 0]]
179
+ ];
180
+ export var Descriptors$ = [3, n0, _De,
181
+ 0,
182
+ [_mS, _aAC, _aSD, _cu],
183
+ [[() => McpServerDescriptor$, 0], [() => A2aAgentCardDescriptor$, 0], [() => AgentSkillsDefinitionDescriptor$, 0], [() => CustomDescriptor$, 0]]
184
+ ];
185
+ export var DescriptorSource$ = [3, n0, _DS,
186
+ 0,
187
+ [_fU],
188
+ [() => DescriptorSourceFromUrl$]
189
+ ];
190
+ export var DescriptorSourceFromUrl$ = [3, n0, _DSFU,
191
+ 0,
192
+ [_u],
193
+ [0], 1
194
+ ];
195
+ export var DiscoverableRegistryRecordSummary$ = [3, n0, _DRRS,
196
+ 0,
197
+ [_rA, _rAe, _rIe, _n, _rT, _rV, _st, _cA, _uA, _de, _dN],
198
+ [0, 0, 0, 0, 0, 0, 0, 5, 5, [() => Description, 0], 0], 9
199
+ ];
200
+ export var ListDiscoverableRegistryRecordsRequest$ = [3, n0, _LDRRR,
201
+ 0,
202
+ [_rI, _mR, _nT, _f],
203
+ [[0, 1], 1, 0, () => RegistryRecordFilterList], 1
204
+ ];
205
+ export var ListDiscoverableRegistryRecordsResponse$ = [3, n0, _LDRRRi,
206
+ 0,
207
+ [_rR, _nT],
208
+ [[() => DiscoverableRegistryRecordSummaryList, 0], 0], 1
209
+ ];
210
+ export var McpServerAdditionalData$ = [3, n0, _MSAD,
211
+ 0,
212
+ [_t],
213
+ [[() => McpToolsDescriptor$, 0]]
214
+ ];
215
+ export var McpServerDescriptor$ = [3, n0, _MSD,
216
+ 0,
217
+ [_d, _dSV, _aD, _so],
218
+ [[() => DescriptorData, 0], 0, [() => McpServerAdditionalData$, 0], () => DescriptorSource$]
219
+ ];
220
+ export var McpToolsDescriptor$ = [3, n0, _MTD,
221
+ 0,
222
+ [_d, _dSV],
223
+ [[() => DescriptorData, 0], 0]
224
+ ];
225
+ export var RegistryRecordFilter$ = [3, n0, _RRF,
226
+ 0,
227
+ [_n, _v],
228
+ [0, 64 | 0], 2
229
+ ];
230
+ export var RegistryRecordsEntry$ = [3, n0, _RRE,
231
+ 0,
232
+ [_rI, _rIec],
233
+ [0, 64 | 0], 2
234
+ ];
235
+ export var RegistryRecordSummary$ = [3, n0, _RRS,
236
+ 0,
237
+ [_rA, _rAe, _rIe, _n, _rT, _des, _rV, _st, _cA, _uA, _de, _dN],
238
+ [0, 0, 0, 0, 0, [() => Descriptors$, 0], 0, 0, 5, 5, [() => Description, 0], 0], 10
239
+ ];
240
+ export var SearchDiscoverableRegistryRecordsRequest$ = [3, n0, _SDRRR,
241
+ 0,
242
+ [_sQ, _rIeg, _mR, _f],
243
+ [[() => SearchQuery, 0], 64 | 0, 1, [() => MetadataFilterExpression, 0]], 2
244
+ ];
245
+ export var SearchDiscoverableRegistryRecordsResponse$ = [3, n0, _SDRRRe,
246
+ 0,
247
+ [_rR],
248
+ [[() => RegistryRecordSummaryList, 0]], 1
249
+ ];
250
+ export var ValidationExceptionField$ = [3, n0, _VEF,
251
+ 0,
252
+ [_n, _m],
253
+ [0, 0], 2
254
+ ];
255
+ var BatchGetDiscoverableRegistryRecordErrorList = [1, n0, _BGDRREL,
256
+ 0, () => BatchGetDiscoverableRegistryRecordError$
257
+ ];
258
+ var DiscoverableFilterValues = 64 | 0;
259
+ var DiscoverableRegistryRecordSummaryList = [1, n0, _DRRSL,
260
+ 0, [() => DiscoverableRegistryRecordSummary$,
261
+ 0]
262
+ ];
263
+ var RegistryIdList = 64 | 0;
264
+ var RegistryRecordFilterList = [1, n0, _RRFL,
265
+ 0, () => RegistryRecordFilter$
266
+ ];
267
+ var RegistryRecordIdList = 64 | 0;
268
+ var RegistryRecordsEntryList = [1, n0, _RREL,
269
+ 0, () => RegistryRecordsEntry$
270
+ ];
271
+ var RegistryRecordSummaryList = [1, n0, _RRSL,
272
+ 0, [() => RegistryRecordSummary$,
273
+ 0]
274
+ ];
275
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
276
+ 0, () => ValidationExceptionField$
277
+ ];
278
+ export var BatchGetDiscoverableRegistryRecord$ = [9, n0, _BGDRR,
279
+ { [_h]: ["POST", "/discoverable-records-batch", 200] }, () => BatchGetDiscoverableRegistryRecordRequest$, () => BatchGetDiscoverableRegistryRecordResponse$
280
+ ];
281
+ export var ListDiscoverableRegistryRecords$ = [9, n0, _LDRR,
282
+ { [_h]: ["POST", "/registries/{registryId}/discoverable-records-list", 200] }, () => ListDiscoverableRegistryRecordsRequest$, () => ListDiscoverableRegistryRecordsResponse$
283
+ ];
284
+ export var SearchDiscoverableRegistryRecords$ = [9, n0, _SDRR,
285
+ { [_h]: ["POST", "/discoverable-records-search", 200] }, () => SearchDiscoverableRegistryRecordsRequest$, () => SearchDiscoverableRegistryRecordsResponse$
286
+ ];
@@ -0,0 +1,38 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
+ import { AgentRegistryClient } from "./AgentRegistryClient";
3
+ import { type BatchGetDiscoverableRegistryRecordCommandInput, type BatchGetDiscoverableRegistryRecordCommandOutput } from "./commands/BatchGetDiscoverableRegistryRecordCommand";
4
+ import { type ListDiscoverableRegistryRecordsCommandInput, type ListDiscoverableRegistryRecordsCommandOutput } from "./commands/ListDiscoverableRegistryRecordsCommand";
5
+ import { type SearchDiscoverableRegistryRecordsCommandInput, type SearchDiscoverableRegistryRecordsCommandOutput } from "./commands/SearchDiscoverableRegistryRecordsCommand";
6
+ export interface AgentRegistry {
7
+ /**
8
+ * @see {@link BatchGetDiscoverableRegistryRecordCommand}
9
+ */
10
+ batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetDiscoverableRegistryRecordCommandOutput>;
11
+ batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void): void;
12
+ batchGetDiscoverableRegistryRecord(args: BatchGetDiscoverableRegistryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDiscoverableRegistryRecordCommandOutput) => void): void;
13
+ /**
14
+ * @see {@link ListDiscoverableRegistryRecordsCommand}
15
+ */
16
+ listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoverableRegistryRecordsCommandOutput>;
17
+ listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void): void;
18
+ listDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoverableRegistryRecordsCommandOutput) => void): void;
19
+ /**
20
+ * @see {@link SearchDiscoverableRegistryRecordsCommand}
21
+ */
22
+ searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<SearchDiscoverableRegistryRecordsCommandOutput>;
23
+ searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void): void;
24
+ searchDiscoverableRegistryRecords(args: SearchDiscoverableRegistryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchDiscoverableRegistryRecordsCommandOutput) => void): void;
25
+ /**
26
+ * @see {@link ListDiscoverableRegistryRecordsCommand}
27
+ * @param args - command input.
28
+ * @param paginationConfig - optional pagination config.
29
+ * @returns AsyncIterable of {@link ListDiscoverableRegistryRecordsCommandOutput}.
30
+ */
31
+ paginateListDiscoverableRegistryRecords(args: ListDiscoverableRegistryRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDiscoverableRegistryRecordsCommandOutput>;
32
+ }
33
+ /**
34
+ * Agent Registry lets callers discover, list, and retrieve approved records published to a registry.
35
+ * @public
36
+ */
37
+ export declare class AgentRegistry extends AgentRegistryClient implements AgentRegistry {
38
+ }
@@ -0,0 +1,189 @@
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
5
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
6
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { BatchGetDiscoverableRegistryRecordCommandInput, BatchGetDiscoverableRegistryRecordCommandOutput } from "./commands/BatchGetDiscoverableRegistryRecordCommand";
10
+ import type { ListDiscoverableRegistryRecordsCommandInput, ListDiscoverableRegistryRecordsCommandOutput } from "./commands/ListDiscoverableRegistryRecordsCommand";
11
+ import type { SearchDiscoverableRegistryRecordsCommandInput, SearchDiscoverableRegistryRecordsCommandOutput } from "./commands/SearchDiscoverableRegistryRecordsCommand";
12
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
13
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
14
+ export { __Client };
15
+ /**
16
+ * @public
17
+ */
18
+ export type ServiceInputTypes = BatchGetDiscoverableRegistryRecordCommandInput | ListDiscoverableRegistryRecordsCommandInput | SearchDiscoverableRegistryRecordsCommandInput;
19
+ /**
20
+ * @public
21
+ */
22
+ export type ServiceOutputTypes = BatchGetDiscoverableRegistryRecordCommandOutput | ListDiscoverableRegistryRecordsCommandOutput | SearchDiscoverableRegistryRecordsCommandOutput;
23
+ /**
24
+ * @public
25
+ */
26
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
27
+ /**
28
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
29
+ */
30
+ requestHandler?: __HttpHandlerUserInput;
31
+ /**
32
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
33
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
34
+ * @internal
35
+ */
36
+ sha256?: __ChecksumConstructor | __HashConstructor;
37
+ /**
38
+ * The function that will be used to convert strings into HTTP endpoints.
39
+ * @internal
40
+ */
41
+ urlParser?: __UrlParser;
42
+ /**
43
+ * A function that can calculate the length of a request body.
44
+ * @internal
45
+ */
46
+ bodyLengthChecker?: __BodyLengthCalculator;
47
+ /**
48
+ * A function that converts a stream into an array of bytes.
49
+ * @internal
50
+ */
51
+ streamCollector?: __StreamCollector;
52
+ /**
53
+ * The function that will be used to convert a base64-encoded string to a byte array.
54
+ * @internal
55
+ */
56
+ base64Decoder?: __Decoder;
57
+ /**
58
+ * The function that will be used to convert binary data to a base64-encoded string.
59
+ * @internal
60
+ */
61
+ base64Encoder?: __Encoder;
62
+ /**
63
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
64
+ * @internal
65
+ */
66
+ utf8Decoder?: __Decoder;
67
+ /**
68
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
69
+ * @internal
70
+ */
71
+ utf8Encoder?: __Encoder;
72
+ /**
73
+ * The runtime environment.
74
+ * @internal
75
+ */
76
+ runtime?: string;
77
+ /**
78
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
79
+ * trait of an operation.
80
+ */
81
+ disableHostPrefix?: boolean;
82
+ /**
83
+ * Unique service identifier.
84
+ * @internal
85
+ */
86
+ serviceId?: string;
87
+ /**
88
+ * Enables IPv6/IPv4 dualstack endpoint.
89
+ */
90
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
91
+ /**
92
+ * Enables FIPS compatible endpoints.
93
+ */
94
+ useFipsEndpoint?: boolean | __Provider<boolean>;
95
+ /**
96
+ * The AWS region to which this client will send requests
97
+ */
98
+ region?: string | __Provider<string>;
99
+ /**
100
+ * Setting a client profile is similar to setting a value for the
101
+ * AWS_PROFILE environment variable. Setting a profile on a client
102
+ * in code only affects the single client instance, unlike AWS_PROFILE.
103
+ *
104
+ * When set, and only for environments where an AWS configuration
105
+ * file exists, fields configurable by this file will be retrieved
106
+ * from the specified profile within that file.
107
+ * Conflicting code configuration and environment variables will
108
+ * still have higher priority.
109
+ *
110
+ * For client credential resolution that involves checking the AWS
111
+ * configuration file, the client's profile (this value) will be
112
+ * used unless a different profile is set in the credential
113
+ * provider options.
114
+ *
115
+ */
116
+ profile?: string;
117
+ /**
118
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
119
+ * @internal
120
+ */
121
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
122
+ /**
123
+ * Default credentials provider; Not available in browser runtime.
124
+ * @deprecated
125
+ * @internal
126
+ */
127
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
128
+ /**
129
+ * Value for how many times a request will be made at most in case of retry.
130
+ */
131
+ maxAttempts?: number | __Provider<number>;
132
+ /**
133
+ * Specifies which retry algorithm to use.
134
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
135
+ *
136
+ */
137
+ retryMode?: string | __Provider<string>;
138
+ /**
139
+ * Optional logger for logging debug/info/warn/error.
140
+ */
141
+ logger?: __Logger;
142
+ /**
143
+ * Optional extensions
144
+ */
145
+ extensions?: RuntimeExtension[];
146
+ /**
147
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
148
+ */
149
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
150
+ }
151
+ /**
152
+ * @public
153
+ */
154
+ export type AgentRegistryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
155
+ /**
156
+ * @public
157
+ *
158
+ * The configuration interface of AgentRegistryClient class constructor that set the region, credentials and other options.
159
+ */
160
+ export interface AgentRegistryClientConfig extends AgentRegistryClientConfigType {
161
+ }
162
+ /**
163
+ * @public
164
+ */
165
+ export type AgentRegistryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
166
+ /**
167
+ * @public
168
+ *
169
+ * The resolved configuration interface of AgentRegistryClient class. This is resolved and normalized from the {@link AgentRegistryClientConfig | constructor configuration interface}.
170
+ */
171
+ export interface AgentRegistryClientResolvedConfig extends AgentRegistryClientResolvedConfigType {
172
+ }
173
+ /**
174
+ * Agent Registry lets callers discover, list, and retrieve approved records published to a registry.
175
+ * @public
176
+ */
177
+ export declare class AgentRegistryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AgentRegistryClientResolvedConfig> {
178
+ /**
179
+ * The resolved configuration of AgentRegistryClient class. This is resolved and normalized from the {@link AgentRegistryClientConfig | constructor configuration interface}.
180
+ */
181
+ readonly config: AgentRegistryClientResolvedConfig;
182
+ constructor(...[configuration]: __CheckOptionalClientConfig<AgentRegistryClientConfig>);
183
+ /**
184
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
185
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
186
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
187
+ */
188
+ destroy(): void;
189
+ }
@@ -0,0 +1,29 @@
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import type { AgentRegistryHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): AgentRegistryHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type AgentRegistryClientResolvedConfig } from "../AgentRegistryClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface AgentRegistryHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface AgentRegistryHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<AgentRegistryClientResolvedConfig, HandlerExecutionContext, AgentRegistryHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultAgentRegistryHttpAuthSchemeParametersProvider: (config: AgentRegistryClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<AgentRegistryHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface AgentRegistryHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AgentRegistryHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultAgentRegistryHttpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: AgentRegistryHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: AgentRegistryHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { AgentRegistryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AgentRegistryClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, AgentRegistryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AgentRegistryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];