@aws-sdk/client-schemas 3.321.1 → 3.326.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 (31) hide show
  1. package/dist-types/commands/CreateDiscovererCommand.d.ts +14 -0
  2. package/dist-types/commands/CreateRegistryCommand.d.ts +11 -0
  3. package/dist-types/commands/CreateSchemaCommand.d.ts +15 -0
  4. package/dist-types/commands/DeleteDiscovererCommand.d.ts +4 -0
  5. package/dist-types/commands/DeleteRegistryCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteSchemaCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteSchemaVersionCommand.d.ts +4 -0
  9. package/dist-types/commands/DescribeCodeBindingCommand.d.ts +9 -0
  10. package/dist-types/commands/DescribeDiscovererCommand.d.ts +14 -0
  11. package/dist-types/commands/DescribeRegistryCommand.d.ts +11 -0
  12. package/dist-types/commands/DescribeSchemaCommand.d.ts +16 -0
  13. package/dist-types/commands/GetCodeBindingSourceCommand.d.ts +6 -0
  14. package/dist-types/commands/GetDiscoveredSchemaCommand.d.ts +6 -0
  15. package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -0
  16. package/dist-types/commands/ListDiscoverersCommand.d.ts +18 -0
  17. package/dist-types/commands/ListRegistriesCommand.d.ts +15 -0
  18. package/dist-types/commands/ListSchemaVersionsCommand.d.ts +14 -0
  19. package/dist-types/commands/ListSchemasCommand.d.ts +17 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  21. package/dist-types/commands/PutCodeBindingCommand.d.ts +9 -0
  22. package/dist-types/commands/PutResourcePolicyCommand.d.ts +7 -0
  23. package/dist-types/commands/SearchSchemasCommand.d.ts +20 -0
  24. package/dist-types/commands/StartDiscovererCommand.d.ts +7 -0
  25. package/dist-types/commands/StopDiscovererCommand.d.ts +7 -0
  26. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  27. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  28. package/dist-types/commands/UpdateDiscovererCommand.d.ts +14 -0
  29. package/dist-types/commands/UpdateRegistryCommand.d.ts +11 -0
  30. package/dist-types/commands/UpdateSchemaCommand.d.ts +15 -0
  31. package/package.json +16 -16
@@ -36,6 +36,18 @@ export interface CreateDiscovererCommandOutput extends CreateDiscovererResponse,
36
36
  * };
37
37
  * const command = new CreateDiscovererCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // CreateDiscovererResponse
40
+ * // Description: "STRING_VALUE",
41
+ * // DiscovererArn: "STRING_VALUE",
42
+ * // DiscovererId: "STRING_VALUE",
43
+ * // SourceArn: "STRING_VALUE",
44
+ * // State: "STRING_VALUE",
45
+ * // CrossAccount: true || false,
46
+ * // Tags: { // Tags
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // };
50
+ *
39
51
  * ```
40
52
  *
41
53
  * @param CreateDiscovererCommandInput - {@link CreateDiscovererCommandInput}
@@ -56,6 +68,8 @@ export interface CreateDiscovererCommandOutput extends CreateDiscovererResponse,
56
68
  *
57
69
  * @throws {@link UnauthorizedException} (client fault)
58
70
  *
71
+ * @throws {@link SchemasServiceException}
72
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
59
73
  *
60
74
  */
61
75
  export declare class CreateDiscovererCommand extends $Command<CreateDiscovererCommandInput, CreateDiscovererCommandOutput, SchemasClientResolvedConfig> {
@@ -35,6 +35,15 @@ export interface CreateRegistryCommandOutput extends CreateRegistryResponse, __M
35
35
  * };
36
36
  * const command = new CreateRegistryCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // CreateRegistryResponse
39
+ * // Description: "STRING_VALUE",
40
+ * // RegistryArn: "STRING_VALUE",
41
+ * // RegistryName: "STRING_VALUE",
42
+ * // Tags: { // Tags
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // };
46
+ *
38
47
  * ```
39
48
  *
40
49
  * @param CreateRegistryCommandInput - {@link CreateRegistryCommandInput}
@@ -55,6 +64,8 @@ export interface CreateRegistryCommandOutput extends CreateRegistryResponse, __M
55
64
  *
56
65
  * @throws {@link UnauthorizedException} (client fault)
57
66
  *
67
+ * @throws {@link SchemasServiceException}
68
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
58
69
  *
59
70
  */
60
71
  export declare class CreateRegistryCommand extends $Command<CreateRegistryCommandInput, CreateRegistryCommandOutput, SchemasClientResolvedConfig> {
@@ -38,6 +38,19 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
38
38
  * };
39
39
  * const command = new CreateSchemaCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // CreateSchemaResponse
42
+ * // Description: "STRING_VALUE",
43
+ * // LastModified: new Date("TIMESTAMP"),
44
+ * // SchemaArn: "STRING_VALUE",
45
+ * // SchemaName: "STRING_VALUE",
46
+ * // SchemaVersion: "STRING_VALUE",
47
+ * // Tags: { // Tags
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // Type: "STRING_VALUE",
51
+ * // VersionCreatedDate: new Date("TIMESTAMP"),
52
+ * // };
53
+ *
41
54
  * ```
42
55
  *
43
56
  * @param CreateSchemaCommandInput - {@link CreateSchemaCommandInput}
@@ -54,6 +67,8 @@ export interface CreateSchemaCommandOutput extends CreateSchemaResponse, __Metad
54
67
  *
55
68
  * @throws {@link ServiceUnavailableException} (server fault)
56
69
  *
70
+ * @throws {@link SchemasServiceException}
71
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
57
72
  *
58
73
  */
59
74
  export declare class CreateSchemaCommand extends $Command<CreateSchemaCommandInput, CreateSchemaCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteDiscovererCommandOutput extends __MetadataBearer {
31
31
  * };
32
32
  * const command = new DeleteDiscovererCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteDiscovererCommandInput - {@link DeleteDiscovererCommandInput}
@@ -51,6 +53,8 @@ export interface DeleteDiscovererCommandOutput extends __MetadataBearer {
51
53
  *
52
54
  * @throws {@link UnauthorizedException} (client fault)
53
55
  *
56
+ * @throws {@link SchemasServiceException}
57
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
58
  *
55
59
  */
56
60
  export declare class DeleteDiscovererCommand extends $Command<DeleteDiscovererCommandInput, DeleteDiscovererCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteRegistryCommandOutput extends __MetadataBearer {
31
31
  * };
32
32
  * const command = new DeleteRegistryCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteRegistryCommandInput - {@link DeleteRegistryCommandInput}
@@ -51,6 +53,8 @@ export interface DeleteRegistryCommandOutput extends __MetadataBearer {
51
53
  *
52
54
  * @throws {@link UnauthorizedException} (client fault)
53
55
  *
56
+ * @throws {@link SchemasServiceException}
57
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
58
  *
55
59
  */
56
60
  export declare class DeleteRegistryCommand extends $Command<DeleteRegistryCommandInput, DeleteRegistryCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
31
31
  * };
32
32
  * const command = new DeleteResourcePolicyCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
@@ -51,6 +53,8 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
51
53
  *
52
54
  * @throws {@link UnauthorizedException} (client fault)
53
55
  *
56
+ * @throws {@link SchemasServiceException}
57
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
58
  *
55
59
  */
56
60
  export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, SchemasClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteSchemaCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new DeleteSchemaCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteSchemaCommandInput - {@link DeleteSchemaCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteSchemaCommandOutput extends __MetadataBearer {
52
54
  *
53
55
  * @throws {@link UnauthorizedException} (client fault)
54
56
  *
57
+ * @throws {@link SchemasServiceException}
58
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteSchemaCommand extends $Command<DeleteSchemaCommandInput, DeleteSchemaCommandOutput, SchemasClientResolvedConfig> {
@@ -33,6 +33,8 @@ export interface DeleteSchemaVersionCommandOutput extends __MetadataBearer {
33
33
  * };
34
34
  * const command = new DeleteSchemaVersionCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // {};
37
+ *
36
38
  * ```
37
39
  *
38
40
  * @param DeleteSchemaVersionCommandInput - {@link DeleteSchemaVersionCommandInput}
@@ -53,6 +55,8 @@ export interface DeleteSchemaVersionCommandOutput extends __MetadataBearer {
53
55
  *
54
56
  * @throws {@link UnauthorizedException} (client fault)
55
57
  *
58
+ * @throws {@link SchemasServiceException}
59
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
56
60
  *
57
61
  */
58
62
  export declare class DeleteSchemaVersionCommand extends $Command<DeleteSchemaVersionCommandInput, DeleteSchemaVersionCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,13 @@ export interface DescribeCodeBindingCommandOutput extends DescribeCodeBindingRes
34
34
  * };
35
35
  * const command = new DescribeCodeBindingCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DescribeCodeBindingResponse
38
+ * // CreationDate: new Date("TIMESTAMP"),
39
+ * // LastModified: new Date("TIMESTAMP"),
40
+ * // SchemaVersion: "STRING_VALUE",
41
+ * // Status: "STRING_VALUE",
42
+ * // };
43
+ *
37
44
  * ```
38
45
  *
39
46
  * @param DescribeCodeBindingCommandInput - {@link DescribeCodeBindingCommandInput}
@@ -54,6 +61,8 @@ export interface DescribeCodeBindingCommandOutput extends DescribeCodeBindingRes
54
61
  *
55
62
  * @throws {@link UnauthorizedException} (client fault)
56
63
  *
64
+ * @throws {@link SchemasServiceException}
65
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
57
66
  *
58
67
  */
59
68
  export declare class DescribeCodeBindingCommand extends $Command<DescribeCodeBindingCommandInput, DescribeCodeBindingCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,18 @@ export interface DescribeDiscovererCommandOutput extends DescribeDiscovererRespo
31
31
  * };
32
32
  * const command = new DescribeDiscovererCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeDiscovererResponse
35
+ * // Description: "STRING_VALUE",
36
+ * // DiscovererArn: "STRING_VALUE",
37
+ * // DiscovererId: "STRING_VALUE",
38
+ * // SourceArn: "STRING_VALUE",
39
+ * // State: "STRING_VALUE",
40
+ * // CrossAccount: true || false,
41
+ * // Tags: { // Tags
42
+ * // "<keys>": "STRING_VALUE",
43
+ * // },
44
+ * // };
45
+ *
34
46
  * ```
35
47
  *
36
48
  * @param DescribeDiscovererCommandInput - {@link DescribeDiscovererCommandInput}
@@ -51,6 +63,8 @@ export interface DescribeDiscovererCommandOutput extends DescribeDiscovererRespo
51
63
  *
52
64
  * @throws {@link UnauthorizedException} (client fault)
53
65
  *
66
+ * @throws {@link SchemasServiceException}
67
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
68
  *
55
69
  */
56
70
  export declare class DescribeDiscovererCommand extends $Command<DescribeDiscovererCommandInput, DescribeDiscovererCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
31
31
  * };
32
32
  * const command = new DescribeRegistryCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeRegistryResponse
35
+ * // Description: "STRING_VALUE",
36
+ * // RegistryArn: "STRING_VALUE",
37
+ * // RegistryName: "STRING_VALUE",
38
+ * // Tags: { // Tags
39
+ * // "<keys>": "STRING_VALUE",
40
+ * // },
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param DescribeRegistryCommandInput - {@link DescribeRegistryCommandInput}
@@ -51,6 +60,8 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
51
60
  *
52
61
  * @throws {@link UnauthorizedException} (client fault)
53
62
  *
63
+ * @throws {@link SchemasServiceException}
64
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
65
  *
55
66
  */
56
67
  export declare class DescribeRegistryCommand extends $Command<DescribeRegistryCommandInput, DescribeRegistryCommandOutput, SchemasClientResolvedConfig> {
@@ -33,6 +33,20 @@ export interface DescribeSchemaCommandOutput extends DescribeSchemaResponse, __M
33
33
  * };
34
34
  * const command = new DescribeSchemaCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DescribeSchemaResponse
37
+ * // Content: "STRING_VALUE",
38
+ * // Description: "STRING_VALUE",
39
+ * // LastModified: new Date("TIMESTAMP"),
40
+ * // SchemaArn: "STRING_VALUE",
41
+ * // SchemaName: "STRING_VALUE",
42
+ * // SchemaVersion: "STRING_VALUE",
43
+ * // Tags: { // Tags
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // Type: "STRING_VALUE",
47
+ * // VersionCreatedDate: new Date("TIMESTAMP"),
48
+ * // };
49
+ *
36
50
  * ```
37
51
  *
38
52
  * @param DescribeSchemaCommandInput - {@link DescribeSchemaCommandInput}
@@ -53,6 +67,8 @@ export interface DescribeSchemaCommandOutput extends DescribeSchemaResponse, __M
53
67
  *
54
68
  * @throws {@link UnauthorizedException} (client fault)
55
69
  *
70
+ * @throws {@link SchemasServiceException}
71
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
56
72
  *
57
73
  */
58
74
  export declare class DescribeSchemaCommand extends $Command<DescribeSchemaCommandInput, DescribeSchemaCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,10 @@ export interface GetCodeBindingSourceCommandOutput extends GetCodeBindingSourceR
34
34
  * };
35
35
  * const command = new GetCodeBindingSourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetCodeBindingSourceResponse
38
+ * // Body: "BLOB_VALUE",
39
+ * // };
40
+ *
37
41
  * ```
38
42
  *
39
43
  * @param GetCodeBindingSourceCommandInput - {@link GetCodeBindingSourceCommandInput}
@@ -54,6 +58,8 @@ export interface GetCodeBindingSourceCommandOutput extends GetCodeBindingSourceR
54
58
  *
55
59
  * @throws {@link UnauthorizedException} (client fault)
56
60
  *
61
+ * @throws {@link SchemasServiceException}
62
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
57
63
  *
58
64
  */
59
65
  export declare class GetCodeBindingSourceCommand extends $Command<GetCodeBindingSourceCommandInput, GetCodeBindingSourceCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,10 @@ export interface GetDiscoveredSchemaCommandOutput extends GetDiscoveredSchemaRes
34
34
  * };
35
35
  * const command = new GetDiscoveredSchemaCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetDiscoveredSchemaResponse
38
+ * // Content: "STRING_VALUE",
39
+ * // };
40
+ *
37
41
  * ```
38
42
  *
39
43
  * @param GetDiscoveredSchemaCommandInput - {@link GetDiscoveredSchemaCommandInput}
@@ -52,6 +56,8 @@ export interface GetDiscoveredSchemaCommandOutput extends GetDiscoveredSchemaRes
52
56
  *
53
57
  * @throws {@link UnauthorizedException} (client fault)
54
58
  *
59
+ * @throws {@link SchemasServiceException}
60
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
61
  *
56
62
  */
57
63
  export declare class GetDiscoveredSchemaCommand extends $Command<GetDiscoveredSchemaCommandInput, GetDiscoveredSchemaCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
31
31
  * };
32
32
  * const command = new GetResourcePolicyCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetResourcePolicyResponse
35
+ * // Policy: "STRING_VALUE",
36
+ * // RevisionId: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
@@ -51,6 +56,8 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
51
56
  *
52
57
  * @throws {@link UnauthorizedException} (client fault)
53
58
  *
59
+ * @throws {@link SchemasServiceException}
60
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
61
  *
55
62
  */
56
63
  export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,22 @@ export interface ListDiscoverersCommandOutput extends ListDiscoverersResponse, _
34
34
  * };
35
35
  * const command = new ListDiscoverersCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListDiscoverersResponse
38
+ * // Discoverers: [ // __listOfDiscovererSummary
39
+ * // { // DiscovererSummary
40
+ * // DiscovererArn: "STRING_VALUE",
41
+ * // DiscovererId: "STRING_VALUE",
42
+ * // SourceArn: "STRING_VALUE",
43
+ * // State: "STRING_VALUE",
44
+ * // CrossAccount: true || false,
45
+ * // Tags: { // Tags
46
+ * // "<keys>": "STRING_VALUE",
47
+ * // },
48
+ * // },
49
+ * // ],
50
+ * // NextToken: "STRING_VALUE",
51
+ * // };
52
+ *
37
53
  * ```
38
54
  *
39
55
  * @param ListDiscoverersCommandInput - {@link ListDiscoverersCommandInput}
@@ -52,6 +68,8 @@ export interface ListDiscoverersCommandOutput extends ListDiscoverersResponse, _
52
68
  *
53
69
  * @throws {@link UnauthorizedException} (client fault)
54
70
  *
71
+ * @throws {@link SchemasServiceException}
72
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
73
  *
56
74
  */
57
75
  export declare class ListDiscoverersCommand extends $Command<ListDiscoverersCommandInput, ListDiscoverersCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface ListRegistriesCommandOutput extends ListRegistriesResponse, __M
34
34
  * };
35
35
  * const command = new ListRegistriesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListRegistriesResponse
38
+ * // NextToken: "STRING_VALUE",
39
+ * // Registries: [ // __listOfRegistrySummary
40
+ * // { // RegistrySummary
41
+ * // RegistryArn: "STRING_VALUE",
42
+ * // RegistryName: "STRING_VALUE",
43
+ * // Tags: { // Tags
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param ListRegistriesCommandInput - {@link ListRegistriesCommandInput}
@@ -52,6 +65,8 @@ export interface ListRegistriesCommandOutput extends ListRegistriesResponse, __M
52
65
  *
53
66
  * @throws {@link UnauthorizedException} (client fault)
54
67
  *
68
+ * @throws {@link SchemasServiceException}
69
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
70
  *
56
71
  */
57
72
  export declare class ListRegistriesCommand extends $Command<ListRegistriesCommandInput, ListRegistriesCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,18 @@ export interface ListSchemaVersionsCommandOutput extends ListSchemaVersionsRespo
34
34
  * };
35
35
  * const command = new ListSchemaVersionsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListSchemaVersionsResponse
38
+ * // NextToken: "STRING_VALUE",
39
+ * // SchemaVersions: [ // __listOfSchemaVersionSummary
40
+ * // { // SchemaVersionSummary
41
+ * // SchemaArn: "STRING_VALUE",
42
+ * // SchemaName: "STRING_VALUE",
43
+ * // SchemaVersion: "STRING_VALUE",
44
+ * // Type: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // };
48
+ *
37
49
  * ```
38
50
  *
39
51
  * @param ListSchemaVersionsCommandInput - {@link ListSchemaVersionsCommandInput}
@@ -54,6 +66,8 @@ export interface ListSchemaVersionsCommandOutput extends ListSchemaVersionsRespo
54
66
  *
55
67
  * @throws {@link UnauthorizedException} (client fault)
56
68
  *
69
+ * @throws {@link SchemasServiceException}
70
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
57
71
  *
58
72
  */
59
73
  export declare class ListSchemaVersionsCommand extends $Command<ListSchemaVersionsCommandInput, ListSchemaVersionsCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,21 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
34
34
  * };
35
35
  * const command = new ListSchemasCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListSchemasResponse
38
+ * // NextToken: "STRING_VALUE",
39
+ * // Schemas: [ // __listOfSchemaSummary
40
+ * // { // SchemaSummary
41
+ * // LastModified: new Date("TIMESTAMP"),
42
+ * // SchemaArn: "STRING_VALUE",
43
+ * // SchemaName: "STRING_VALUE",
44
+ * // Tags: { // Tags
45
+ * // "<keys>": "STRING_VALUE",
46
+ * // },
47
+ * // VersionCount: Number("long"),
48
+ * // },
49
+ * // ],
50
+ * // };
51
+ *
37
52
  * ```
38
53
  *
39
54
  * @param ListSchemasCommandInput - {@link ListSchemasCommandInput}
@@ -52,6 +67,8 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
52
67
  *
53
68
  * @throws {@link UnauthorizedException} (client fault)
54
69
  *
70
+ * @throws {@link SchemasServiceException}
71
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
72
  *
56
73
  */
57
74
  export declare class ListSchemasCommand extends $Command<ListSchemasCommandInput, ListSchemasCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // Tags: { // Tags
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -47,6 +53,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
47
53
  *
48
54
  * @throws {@link NotFoundException} (client fault)
49
55
  *
56
+ * @throws {@link SchemasServiceException}
57
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
50
58
  *
51
59
  */
52
60
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,13 @@ export interface PutCodeBindingCommandOutput extends PutCodeBindingResponse, __M
34
34
  * };
35
35
  * const command = new PutCodeBindingCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // PutCodeBindingResponse
38
+ * // CreationDate: new Date("TIMESTAMP"),
39
+ * // LastModified: new Date("TIMESTAMP"),
40
+ * // SchemaVersion: "STRING_VALUE",
41
+ * // Status: "STRING_VALUE",
42
+ * // };
43
+ *
37
44
  * ```
38
45
  *
39
46
  * @param PutCodeBindingCommandInput - {@link PutCodeBindingCommandInput}
@@ -56,6 +63,8 @@ export interface PutCodeBindingCommandOutput extends PutCodeBindingResponse, __M
56
63
  *
57
64
  * @throws {@link UnauthorizedException} (client fault)
58
65
  *
66
+ * @throws {@link SchemasServiceException}
67
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
59
68
  *
60
69
  */
61
70
  export declare class PutCodeBindingCommand extends $Command<PutCodeBindingCommandInput, PutCodeBindingCommandOutput, SchemasClientResolvedConfig> {
@@ -33,6 +33,11 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
33
33
  * };
34
34
  * const command = new PutResourcePolicyCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // PutResourcePolicyResponse
37
+ * // Policy: "STRING_VALUE",
38
+ * // RevisionId: "STRING_VALUE",
39
+ * // };
40
+ *
36
41
  * ```
37
42
  *
38
43
  * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
@@ -55,6 +60,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
55
60
  *
56
61
  * @throws {@link UnauthorizedException} (client fault)
57
62
  *
63
+ * @throws {@link SchemasServiceException}
64
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
58
65
  *
59
66
  */
60
67
  export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,24 @@ export interface SearchSchemasCommandOutput extends SearchSchemasResponse, __Met
34
34
  * };
35
35
  * const command = new SearchSchemasCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // SearchSchemasResponse
38
+ * // NextToken: "STRING_VALUE",
39
+ * // Schemas: [ // __listOfSearchSchemaSummary
40
+ * // { // SearchSchemaSummary
41
+ * // RegistryName: "STRING_VALUE",
42
+ * // SchemaArn: "STRING_VALUE",
43
+ * // SchemaName: "STRING_VALUE",
44
+ * // SchemaVersions: [ // __listOfSearchSchemaVersionSummary
45
+ * // { // SearchSchemaVersionSummary
46
+ * // CreatedDate: new Date("TIMESTAMP"),
47
+ * // SchemaVersion: "STRING_VALUE",
48
+ * // Type: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
37
55
  * ```
38
56
  *
39
57
  * @param SearchSchemasCommandInput - {@link SearchSchemasCommandInput}
@@ -52,6 +70,8 @@ export interface SearchSchemasCommandOutput extends SearchSchemasResponse, __Met
52
70
  *
53
71
  * @throws {@link UnauthorizedException} (client fault)
54
72
  *
73
+ * @throws {@link SchemasServiceException}
74
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
75
  *
56
76
  */
57
77
  export declare class SearchSchemasCommand extends $Command<SearchSchemasCommandInput, SearchSchemasCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface StartDiscovererCommandOutput extends StartDiscovererResponse, _
31
31
  * };
32
32
  * const command = new StartDiscovererCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // StartDiscovererResponse
35
+ * // DiscovererId: "STRING_VALUE",
36
+ * // State: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param StartDiscovererCommandInput - {@link StartDiscovererCommandInput}
@@ -51,6 +56,8 @@ export interface StartDiscovererCommandOutput extends StartDiscovererResponse, _
51
56
  *
52
57
  * @throws {@link UnauthorizedException} (client fault)
53
58
  *
59
+ * @throws {@link SchemasServiceException}
60
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
61
  *
55
62
  */
56
63
  export declare class StartDiscovererCommand extends $Command<StartDiscovererCommandInput, StartDiscovererCommandOutput, SchemasClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface StopDiscovererCommandOutput extends StopDiscovererResponse, __M
31
31
  * };
32
32
  * const command = new StopDiscovererCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // StopDiscovererResponse
35
+ * // DiscovererId: "STRING_VALUE",
36
+ * // State: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param StopDiscovererCommandInput - {@link StopDiscovererCommandInput}
@@ -51,6 +56,8 @@ export interface StopDiscovererCommandOutput extends StopDiscovererResponse, __M
51
56
  *
52
57
  * @throws {@link UnauthorizedException} (client fault)
53
58
  *
59
+ * @throws {@link SchemasServiceException}
60
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
54
61
  *
55
62
  */
56
63
  export declare class StopDiscovererCommand extends $Command<StopDiscovererCommandInput, StopDiscovererCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -50,6 +52,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
50
52
  *
51
53
  * @throws {@link NotFoundException} (client fault)
52
54
  *
55
+ * @throws {@link SchemasServiceException}
56
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
53
57
  *
54
58
  */
55
59
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SchemasClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -50,6 +52,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
50
52
  *
51
53
  * @throws {@link NotFoundException} (client fault)
52
54
  *
55
+ * @throws {@link SchemasServiceException}
56
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
53
57
  *
54
58
  */
55
59
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SchemasClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface UpdateDiscovererCommandOutput extends UpdateDiscovererResponse,
33
33
  * };
34
34
  * const command = new UpdateDiscovererCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateDiscovererResponse
37
+ * // Description: "STRING_VALUE",
38
+ * // DiscovererArn: "STRING_VALUE",
39
+ * // DiscovererId: "STRING_VALUE",
40
+ * // SourceArn: "STRING_VALUE",
41
+ * // State: "STRING_VALUE",
42
+ * // CrossAccount: true || false,
43
+ * // Tags: { // Tags
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param UpdateDiscovererCommandInput - {@link UpdateDiscovererCommandInput}
@@ -53,6 +65,8 @@ export interface UpdateDiscovererCommandOutput extends UpdateDiscovererResponse,
53
65
  *
54
66
  * @throws {@link UnauthorizedException} (client fault)
55
67
  *
68
+ * @throws {@link SchemasServiceException}
69
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
56
70
  *
57
71
  */
58
72
  export declare class UpdateDiscovererCommand extends $Command<UpdateDiscovererCommandInput, UpdateDiscovererCommandOutput, SchemasClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface UpdateRegistryCommandOutput extends UpdateRegistryResponse, __M
32
32
  * };
33
33
  * const command = new UpdateRegistryCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UpdateRegistryResponse
36
+ * // Description: "STRING_VALUE",
37
+ * // RegistryArn: "STRING_VALUE",
38
+ * // RegistryName: "STRING_VALUE",
39
+ * // Tags: { // Tags
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param UpdateRegistryCommandInput - {@link UpdateRegistryCommandInput}
@@ -52,6 +61,8 @@ export interface UpdateRegistryCommandOutput extends UpdateRegistryResponse, __M
52
61
  *
53
62
  * @throws {@link UnauthorizedException} (client fault)
54
63
  *
64
+ * @throws {@link SchemasServiceException}
65
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
55
66
  *
56
67
  */
57
68
  export declare class UpdateRegistryCommand extends $Command<UpdateRegistryCommandInput, UpdateRegistryCommandOutput, SchemasClientResolvedConfig> {
@@ -36,6 +36,19 @@ export interface UpdateSchemaCommandOutput extends UpdateSchemaResponse, __Metad
36
36
  * };
37
37
  * const command = new UpdateSchemaCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UpdateSchemaResponse
40
+ * // Description: "STRING_VALUE",
41
+ * // LastModified: new Date("TIMESTAMP"),
42
+ * // SchemaArn: "STRING_VALUE",
43
+ * // SchemaName: "STRING_VALUE",
44
+ * // SchemaVersion: "STRING_VALUE",
45
+ * // Tags: { // Tags
46
+ * // "<keys>": "STRING_VALUE",
47
+ * // },
48
+ * // Type: "STRING_VALUE",
49
+ * // VersionCreatedDate: new Date("TIMESTAMP"),
50
+ * // };
51
+ *
39
52
  * ```
40
53
  *
41
54
  * @param UpdateSchemaCommandInput - {@link UpdateSchemaCommandInput}
@@ -54,6 +67,8 @@ export interface UpdateSchemaCommandOutput extends UpdateSchemaResponse, __Metad
54
67
  *
55
68
  * @throws {@link ServiceUnavailableException} (server fault)
56
69
  *
70
+ * @throws {@link SchemasServiceException}
71
+ * <p>Base exception class for all service exceptions from Schemas service.</p>
57
72
  *
58
73
  */
59
74
  export declare class UpdateSchemaCommand extends $Command<UpdateSchemaCommandInput, UpdateSchemaCommandOutput, SchemasClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",