@aws-sdk/client-schemas 3.299.0 → 3.301.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-types/commands/CreateDiscovererCommand.d.ts +8 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +7 -0
- package/dist-types/commands/CreateSchemaCommand.d.ts +10 -0
- package/dist-types/commands/DeleteDiscovererCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRegistryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSchemaCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSchemaVersionCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCodeBindingCommand.d.ts +6 -0
- package/dist-types/commands/DescribeDiscovererCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSchemaCommand.d.ts +5 -0
- package/dist-types/commands/GetCodeBindingSourceCommand.d.ts +6 -0
- package/dist-types/commands/GetDiscoveredSchemaCommand.d.ts +6 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/ListDiscoverersCommand.d.ts +6 -0
- package/dist-types/commands/ListRegistriesCommand.d.ts +6 -0
- package/dist-types/commands/ListSchemaVersionsCommand.d.ts +6 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutCodeBindingCommand.d.ts +6 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -0
- package/dist-types/commands/SearchSchemasCommand.d.ts +6 -0
- package/dist-types/commands/StartDiscovererCommand.d.ts +3 -0
- package/dist-types/commands/StopDiscovererCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDiscovererCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSchemaCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -26,6 +26,14 @@ export interface CreateDiscovererCommandOutput extends CreateDiscovererResponse,
|
|
|
26
26
|
* import { SchemasClient, CreateDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, CreateDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // CreateDiscovererRequest
|
|
30
|
+
* Description: "STRING_VALUE",
|
|
31
|
+
* SourceArn: "STRING_VALUE", // required
|
|
32
|
+
* CrossAccount: true || false,
|
|
33
|
+
* Tags: { // Tags
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new CreateDiscovererCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface CreateRegistryCommandOutput extends CreateRegistryResponse, __M
|
|
|
26
26
|
* import { SchemasClient, CreateRegistryCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, CreateRegistryCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // CreateRegistryRequest
|
|
30
|
+
* Description: "STRING_VALUE",
|
|
31
|
+
* RegistryName: "STRING_VALUE", // required
|
|
32
|
+
* Tags: { // Tags
|
|
33
|
+
* "<keys>": "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new CreateRegistryCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
|
|
|
26
26
|
* import { SchemasClient, CreateSchemaCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, CreateSchemaCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // CreateSchemaRequest
|
|
30
|
+
* Content: "STRING_VALUE", // required
|
|
31
|
+
* Description: "STRING_VALUE",
|
|
32
|
+
* RegistryName: "STRING_VALUE", // required
|
|
33
|
+
* SchemaName: "STRING_VALUE", // required
|
|
34
|
+
* Tags: { // Tags
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* Type: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
29
39
|
* const command = new CreateSchemaCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteDiscovererCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, DeleteDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DeleteDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DeleteDiscovererRequest
|
|
30
|
+
* DiscovererId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteDiscovererCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteRegistryCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, DeleteRegistryCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DeleteRegistryCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DeleteRegistryRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteRegistryCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteSchemaCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, DeleteSchemaCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DeleteSchemaCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DeleteSchemaRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE", // required
|
|
31
|
+
* SchemaName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteSchemaCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DeleteSchemaVersionCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, DeleteSchemaVersionCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DeleteSchemaVersionCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DeleteSchemaVersionRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE", // required
|
|
31
|
+
* SchemaName: "STRING_VALUE", // required
|
|
32
|
+
* SchemaVersion: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeleteSchemaVersionCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DescribeCodeBindingCommandOutput extends DescribeCodeBindingRes
|
|
|
26
26
|
* import { SchemasClient, DescribeCodeBindingCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DescribeCodeBindingCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DescribeCodeBindingRequest
|
|
30
|
+
* Language: "STRING_VALUE", // required
|
|
31
|
+
* RegistryName: "STRING_VALUE", // required
|
|
32
|
+
* SchemaName: "STRING_VALUE", // required
|
|
33
|
+
* SchemaVersion: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DescribeCodeBindingCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeDiscovererCommandOutput extends DescribeDiscovererRespo
|
|
|
26
26
|
* import { SchemasClient, DescribeDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DescribeDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DescribeDiscovererRequest
|
|
30
|
+
* DiscovererId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeDiscovererCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
|
|
|
26
26
|
* import { SchemasClient, DescribeRegistryCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DescribeRegistryCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DescribeRegistryRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeRegistryCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeSchemaCommandOutput extends DescribeSchemaResponse, __M
|
|
|
26
26
|
* import { SchemasClient, DescribeSchemaCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, DescribeSchemaCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // DescribeSchemaRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE", // required
|
|
31
|
+
* SchemaName: "STRING_VALUE", // required
|
|
32
|
+
* SchemaVersion: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeSchemaCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface GetCodeBindingSourceCommandOutput extends GetCodeBindingSourceR
|
|
|
26
26
|
* import { SchemasClient, GetCodeBindingSourceCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, GetCodeBindingSourceCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // GetCodeBindingSourceRequest
|
|
30
|
+
* Language: "STRING_VALUE", // required
|
|
31
|
+
* RegistryName: "STRING_VALUE", // required
|
|
32
|
+
* SchemaName: "STRING_VALUE", // required
|
|
33
|
+
* SchemaVersion: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new GetCodeBindingSourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface GetDiscoveredSchemaCommandOutput extends GetDiscoveredSchemaRes
|
|
|
26
26
|
* import { SchemasClient, GetDiscoveredSchemaCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, GetDiscoveredSchemaCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // GetDiscoveredSchemaRequest
|
|
30
|
+
* Events: [ // __listOfGetDiscoveredSchemaVersionItemInput // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* Type: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new GetDiscoveredSchemaCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
26
26
|
* import { SchemasClient, GetResourcePolicyCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, GetResourcePolicyCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // GetResourcePolicyRequest
|
|
30
|
+
* RegistryName: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetResourcePolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListDiscoverersCommandOutput extends ListDiscoverersResponse, _
|
|
|
26
26
|
* import { SchemasClient, ListDiscoverersCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, ListDiscoverersCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // ListDiscoverersRequest
|
|
30
|
+
* DiscovererIdPrefix: "STRING_VALUE",
|
|
31
|
+
* Limit: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* SourceArnPrefix: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListDiscoverersCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListRegistriesCommandOutput extends ListRegistriesResponse, __M
|
|
|
26
26
|
* import { SchemasClient, ListRegistriesCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, ListRegistriesCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // ListRegistriesRequest
|
|
30
|
+
* Limit: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* RegistryNamePrefix: "STRING_VALUE",
|
|
33
|
+
* Scope: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListRegistriesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListSchemaVersionsCommandOutput extends ListSchemaVersionsRespo
|
|
|
26
26
|
* import { SchemasClient, ListSchemaVersionsCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, ListSchemaVersionsCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // ListSchemaVersionsRequest
|
|
30
|
+
* Limit: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* RegistryName: "STRING_VALUE", // required
|
|
33
|
+
* SchemaName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListSchemaVersionsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
|
|
|
26
26
|
* import { SchemasClient, ListSchemasCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, ListSchemasCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // ListSchemasRequest
|
|
30
|
+
* Limit: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* RegistryName: "STRING_VALUE", // required
|
|
33
|
+
* SchemaNamePrefix: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListSchemasCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { SchemasClient, ListTagsForResourceCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, ListTagsForResourceCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface PutCodeBindingCommandOutput extends PutCodeBindingResponse, __M
|
|
|
26
26
|
* import { SchemasClient, PutCodeBindingCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, PutCodeBindingCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // PutCodeBindingRequest
|
|
30
|
+
* Language: "STRING_VALUE", // required
|
|
31
|
+
* RegistryName: "STRING_VALUE", // required
|
|
32
|
+
* SchemaName: "STRING_VALUE", // required
|
|
33
|
+
* SchemaVersion: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new PutCodeBindingCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
26
26
|
* import { SchemasClient, PutResourcePolicyCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, PutResourcePolicyCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // PutResourcePolicyRequest
|
|
30
|
+
* Policy: "STRING_VALUE", // required
|
|
31
|
+
* RegistryName: "STRING_VALUE",
|
|
32
|
+
* RevisionId: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new PutResourcePolicyCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface SearchSchemasCommandOutput extends SearchSchemasResponse, __Met
|
|
|
26
26
|
* import { SchemasClient, SearchSchemasCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, SearchSchemasCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // SearchSchemasRequest
|
|
30
|
+
* Keywords: "STRING_VALUE", // required
|
|
31
|
+
* Limit: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* RegistryName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new SearchSchemasCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StartDiscovererCommandOutput extends StartDiscovererResponse, _
|
|
|
26
26
|
* import { SchemasClient, StartDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, StartDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // StartDiscovererRequest
|
|
30
|
+
* DiscovererId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StartDiscovererCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StopDiscovererCommandOutput extends StopDiscovererResponse, __M
|
|
|
26
26
|
* import { SchemasClient, StopDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, StopDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // StopDiscovererRequest
|
|
30
|
+
* DiscovererId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopDiscovererCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, TagResourceCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, TagResourceCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* Tags: { // Tags // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { SchemasClient, UntagResourceCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, UntagResourceCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // __listOf__string // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateDiscovererCommandOutput extends UpdateDiscovererResponse,
|
|
|
26
26
|
* import { SchemasClient, UpdateDiscovererCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, UpdateDiscovererCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // UpdateDiscovererRequest
|
|
30
|
+
* Description: "STRING_VALUE",
|
|
31
|
+
* DiscovererId: "STRING_VALUE", // required
|
|
32
|
+
* CrossAccount: true || false,
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateDiscovererCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface UpdateRegistryCommandOutput extends UpdateRegistryResponse, __M
|
|
|
26
26
|
* import { SchemasClient, UpdateRegistryCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, UpdateRegistryCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // UpdateRegistryRequest
|
|
30
|
+
* Description: "STRING_VALUE",
|
|
31
|
+
* RegistryName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new UpdateRegistryCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface UpdateSchemaCommandOutput extends UpdateSchemaResponse, __Metad
|
|
|
26
26
|
* import { SchemasClient, UpdateSchemaCommand } from "@aws-sdk/client-schemas"; // ES Modules import
|
|
27
27
|
* // const { SchemasClient, UpdateSchemaCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
|
|
28
28
|
* const client = new SchemasClient(config);
|
|
29
|
+
* const input = { // UpdateSchemaRequest
|
|
30
|
+
* ClientTokenId: "STRING_VALUE",
|
|
31
|
+
* Content: "STRING_VALUE",
|
|
32
|
+
* Description: "STRING_VALUE",
|
|
33
|
+
* RegistryName: "STRING_VALUE", // required
|
|
34
|
+
* SchemaName: "STRING_VALUE", // required
|
|
35
|
+
* Type: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new UpdateSchemaCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-schemas",
|
|
3
3
|
"description": "AWS SDK for JavaScript Schemas Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0",
|