@aws-sdk/client-agent-registry 3.1141.0 → 3.1143.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/dist-cjs/index.js CHANGED
@@ -65,7 +65,7 @@ const commonParams = {
65
65
  Region: { type: "builtInParams", name: "region" },
66
66
  };
67
67
 
68
- var version = "3.1140.0";
68
+ var version = "3.1142.0";
69
69
  var packageInfo = {
70
70
  version: version};
71
71
 
@@ -199,6 +199,7 @@ const _BGDRREL = "BatchGetDiscoverableRegistryRecordErrorList";
199
199
  const _BGDRRR = "BatchGetDiscoverableRegistryRecordRequest";
200
200
  const _BGDRRRa = "BatchGetDiscoverableRegistryRecordResponse";
201
201
  const _CD = "CustomDescriptor";
202
+ const _CMD = "CustomMetadataDocument";
202
203
  const _D = "Description";
203
204
  const _DD = "DescriptorData";
204
205
  const _DRRS = "DiscoverableRegistryRecordSummary";
@@ -237,6 +238,7 @@ const _aD = "additionalData";
237
238
  const _aSD = "agentSkillsDefinition";
238
239
  const _c = "client";
239
240
  const _cA = "createdAt";
241
+ const _cM = "customMetadata";
240
242
  const _cu = "custom";
241
243
  const _d = "data";
242
244
  const _dN = "displayName";
@@ -323,6 +325,7 @@ const errorTypeRegistries = [
323
325
  _s_registry,
324
326
  n0_registry,
325
327
  ];
328
+ var CustomMetadataDocument = [0, n0, _CMD, 8, 15];
326
329
  var Description = [0, n0, _D, 8, 0];
327
330
  var DescriptorData = [0, n0, _DD, 8, 0];
328
331
  var MetadataFilterExpression = [0, n0, _MFE, 8, 15];
@@ -434,8 +437,8 @@ var RegistryRecordsEntry$ = [3, n0, _RRE,
434
437
  ];
435
438
  var RegistryRecordSummary$ = [3, n0, _RRS,
436
439
  0,
437
- [_rA, _rAe, _rIe, _n, _rT, _des, _rV, _st, _cA, _uA, _de, _dN],
438
- [0, 0, 0, 0, 0, [() => Descriptors$, 0], 0, 0, 5, 5, [() => Description, 0], 0], 10
440
+ [_rA, _rAe, _rIe, _n, _rT, _des, _rV, _st, _cA, _uA, _de, _dN, _cM],
441
+ [0, 0, 0, 0, 0, [() => Descriptors$, 0], 0, 0, 5, 5, [() => Description, 0], 0, [() => CustomMetadataDocument, 0]], 10
439
442
  ];
440
443
  var SearchDiscoverableRegistryRecordsRequest$ = [3, n0, _SDRRR,
441
444
  0,
@@ -10,6 +10,7 @@ const _BGDRREL = "BatchGetDiscoverableRegistryRecordErrorList";
10
10
  const _BGDRRR = "BatchGetDiscoverableRegistryRecordRequest";
11
11
  const _BGDRRRa = "BatchGetDiscoverableRegistryRecordResponse";
12
12
  const _CD = "CustomDescriptor";
13
+ const _CMD = "CustomMetadataDocument";
13
14
  const _D = "Description";
14
15
  const _DD = "DescriptorData";
15
16
  const _DRRS = "DiscoverableRegistryRecordSummary";
@@ -48,6 +49,7 @@ const _aD = "additionalData";
48
49
  const _aSD = "agentSkillsDefinition";
49
50
  const _c = "client";
50
51
  const _cA = "createdAt";
52
+ const _cM = "customMetadata";
51
53
  const _cu = "custom";
52
54
  const _d = "data";
53
55
  const _dN = "displayName";
@@ -137,6 +139,7 @@ export const errorTypeRegistries = [
137
139
  _s_registry,
138
140
  n0_registry,
139
141
  ];
142
+ var CustomMetadataDocument = [0, n0, _CMD, 8, 15];
140
143
  var Description = [0, n0, _D, 8, 0];
141
144
  var DescriptorData = [0, n0, _DD, 8, 0];
142
145
  var MetadataFilterExpression = [0, n0, _MFE, 8, 15];
@@ -248,8 +251,8 @@ export var RegistryRecordsEntry$ = [3, n0, _RRE,
248
251
  ];
249
252
  export var RegistryRecordSummary$ = [3, n0, _RRS,
250
253
  0,
251
- [_rA, _rAe, _rIe, _n, _rT, _des, _rV, _st, _cA, _uA, _de, _dN],
252
- [0, 0, 0, 0, 0, [() => Descriptors$, 0], 0, 0, 5, 5, [() => Description, 0], 0], 10
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
253
256
  ];
254
257
  export var SearchDiscoverableRegistryRecordsRequest$ = [3, n0, _SDRRR,
255
258
  0,
@@ -117,6 +117,7 @@ declare const BatchGetDiscoverableRegistryRecordCommand_base: {
117
117
  * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
118
118
  * // createdAt: new Date("TIMESTAMP"), // required
119
119
  * // updatedAt: new Date("TIMESTAMP"), // required
120
+ * // customMetadata: "DOCUMENT_VALUE",
120
121
  * // },
121
122
  * // ],
122
123
  * // errors: [ // BatchGetDiscoverableRegistryRecordErrorList // required
@@ -115,6 +115,7 @@ declare const SearchDiscoverableRegistryRecordsCommand_base: {
115
115
  * // status: "DRAFT" || "PENDING_APPROVAL" || "APPROVED" || "REJECTED" || "DEPRECATED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", // required
116
116
  * // createdAt: new Date("TIMESTAMP"), // required
117
117
  * // updatedAt: new Date("TIMESTAMP"), // required
118
+ * // customMetadata: "DOCUMENT_VALUE",
118
119
  * // },
119
120
  * // ],
120
121
  * // };
@@ -335,6 +335,11 @@ export interface RegistryRecordSummary {
335
335
  * @public
336
336
  */
337
337
  updatedAt: Date | undefined;
338
+ /**
339
+ * <p> The custom metadata attached to this registry record. Values are strings (maximum 128 characters) or booleans. This field is only present if the registry has a custom metadata schema configured.</p>
340
+ * @public
341
+ */
342
+ customMetadata?: __DocumentType | undefined;
338
343
  }
339
344
  /**
340
345
  * @public
@@ -509,7 +514,7 @@ export interface SearchDiscoverableRegistryRecordsRequest {
509
514
  */
510
515
  maxResults?: number | undefined;
511
516
  /**
512
- * <p> An optional structured JSON metadata filter that narrows the search results. Supports the field-level operators <code>$eq</code>, <code>$ne</code>, and <code>$in</code>, and the logical operators <code>$and</code> and <code>$or</code> on filterable fields.</p>
517
+ * <p> An optional structured JSON metadata filter that narrows the search results. Supports the field-level operators <code>$eq</code>, <code>$ne</code>, and <code>$in</code>, and the logical operators <code>$and</code> and <code>$or</code> on filterable fields.</p> <p> You can also filter on custom metadata fields using the <code>customMetadata.\{key\}</code> prefix. For example, to filter by a custom metadata field: <code>\{"customMetadata.environment": \{"$eq": "production"\}\}</code>. Filter values must be strings, so match a boolean field on its string form: <code>\{"customMetadata.requiresApproval": \{"$eq": "true"\}\}</code>.</p>
513
518
  * @public
514
519
  */
515
520
  filters?: __DocumentType | undefined;
@@ -85,6 +85,7 @@ export interface RegistryRecordSummary {
85
85
  status: RegistryRecordStatus | undefined;
86
86
  createdAt: Date | undefined;
87
87
  updatedAt: Date | undefined;
88
+ customMetadata?: __DocumentType | undefined;
88
89
  }
89
90
  export interface BatchGetDiscoverableRegistryRecordResponse {
90
91
  registryRecords: RegistryRecordSummary[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-agent-registry",
3
- "version": "3.1141.0",
3
+ "version": "3.1143.0",
4
4
  "description": "AWS SDK for JavaScript Agent Registry Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-agent-registry",
6
6
  "license": "Apache-2.0",