@aws-sdk/client-agent-registry-control 3.1149.0 → 3.1151.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.1148.0";
68
+ var version = "3.1150.0";
69
69
  var packageInfo = {
70
70
  version: version};
71
71
 
@@ -843,7 +843,7 @@ export interface CreateRegistryRecordRequest {
843
843
  */
844
844
  provenance?: Provenance[] | undefined;
845
845
  /**
846
- * <p>The custom metadata to attach to the registry record. Each key must match a property defined in the registry's custom metadata schema. Values can be strings (maximum 128 characters) or native JSON booleans (<code>true</code> or <code>false</code>). Values are validated against the schema at creation time.</p>
846
+ * <p>The custom metadata for the record. Values are strings or JSON booleans.</p>
847
847
  * @public
848
848
  */
849
849
  customMetadata?: __DocumentType | undefined;
@@ -1834,33 +1834,33 @@ export interface AutoDetectionConfiguration {
1834
1834
  enabled: boolean | undefined;
1835
1835
  }
1836
1836
  /**
1837
- * <p>A schema override for a specific record type within a custom metadata schema configuration.</p>
1837
+ * <p>The custom metadata fields for one record type, in addition to the common attributes defined in <code>defaultSchema</code>.</p>
1838
1838
  * @public
1839
1839
  */
1840
1840
  export interface RecordTypeSchemaOverride {
1841
1841
  /**
1842
- * <p>The record type that this schema override applies to.</p>
1842
+ * <p>The record type these fields apply to.</p>
1843
1843
  * @public
1844
1844
  */
1845
1845
  recordType: RecordType | undefined;
1846
1846
  /**
1847
- * <p>The JSON Schema for the specified record type. Must follow the same structural rules as the default schema.</p>
1847
+ * <p>A JSON Schema with the fields for this record type.</p>
1848
1848
  * @public
1849
1849
  */
1850
1850
  schema: string | undefined;
1851
1851
  }
1852
1852
  /**
1853
- * <p>Configuration that defines a typed metadata schema for a registry. Specify at least one of a default schema or per-record-type schema overrides. You can provide both.</p>
1853
+ * <p>The custom metadata fields that records in the registry can carry. <code>defaultSchema</code> defines the common attributes for every record type, and <code>recordTypeSchemaOverrides</code> adds fields for individual record types.</p>
1854
1854
  * @public
1855
1855
  */
1856
1856
  export interface CustomMetadataSchemaConfiguration {
1857
1857
  /**
1858
- * <p>The default JSON Schema that applies to record types without a specific override. Supported property types are <code>string</code>, <code>string</code> with an <code>enum</code> constraint, <code>string</code> with a <code>uri</code> format, and <code>boolean</code>.</p>
1858
+ * <p>A JSON Schema with the common attributes: fields that records of every record type can carry.</p>
1859
1859
  * @public
1860
1860
  */
1861
1861
  defaultSchema?: string | undefined;
1862
1862
  /**
1863
- * <p>A list of per-record-type schema overrides. When a record's type matches an override, that override's schema is used instead of the default schema for validation. If you don't specify an override for a record type, the default schema applies. If no default schema exists, custom metadata on records of that type is rejected.</p>
1863
+ * <p>The fields for individual record types. Records of a record type can carry the common attributes defined in <code>defaultSchema</code> plus that record type's fields.</p>
1864
1864
  * @public
1865
1865
  */
1866
1866
  recordTypeSchemaOverrides?: RecordTypeSchemaOverride[] | undefined;
@@ -2274,7 +2274,7 @@ export interface UpdateRegistryRequest {
2274
2274
  */
2275
2275
  approvalConfiguration?: UpdatedApprovalConfiguration | undefined;
2276
2276
  /**
2277
- * <p>Updated custom metadata schema configuration for the registry. Omit to leave the existing schema unchanged. Schema evolution is additive only: you can add properties and enum values, but you cannot remove properties, change property types or formats, add or remove enum constraints, or remove record type overrides.</p>
2277
+ * <p>The new custom metadata schema configuration, which replaces the current one. You can add fields and allowed values, but you can't remove a field or an allowed value, or change a field's type.</p>
2278
2278
  * @public
2279
2279
  */
2280
2280
  customMetadataSchemaConfiguration?: UpdatedCustomMetadataSchemaConfiguration | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-agent-registry-control",
3
- "version": "3.1149.0",
3
+ "version": "3.1151.0",
4
4
  "description": "AWS SDK for JavaScript Agent Registry Control 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-control",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.2",
50
- "@aws-sdk/credential-provider-node": "^3.972.85",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
52
  "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",