@aws-sdk/client-schemas 3.490.0 → 3.496.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/Schemas.js +1 -73
- package/dist-cjs/SchemasClient.js +1 -43
- package/dist-cjs/commands/CreateDiscovererCommand.js +1 -28
- package/dist-cjs/commands/CreateRegistryCommand.js +1 -28
- package/dist-cjs/commands/CreateSchemaCommand.js +1 -28
- package/dist-cjs/commands/DeleteDiscovererCommand.js +1 -28
- package/dist-cjs/commands/DeleteRegistryCommand.js +1 -28
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteSchemaCommand.js +1 -28
- package/dist-cjs/commands/DeleteSchemaVersionCommand.js +1 -28
- package/dist-cjs/commands/DescribeCodeBindingCommand.js +1 -28
- package/dist-cjs/commands/DescribeDiscovererCommand.js +1 -28
- package/dist-cjs/commands/DescribeRegistryCommand.js +1 -28
- package/dist-cjs/commands/DescribeSchemaCommand.js +1 -28
- package/dist-cjs/commands/ExportSchemaCommand.js +1 -28
- package/dist-cjs/commands/GetCodeBindingSourceCommand.js +1 -28
- package/dist-cjs/commands/GetDiscoveredSchemaCommand.js +1 -28
- package/dist-cjs/commands/GetResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/ListDiscoverersCommand.js +1 -28
- package/dist-cjs/commands/ListRegistriesCommand.js +1 -28
- package/dist-cjs/commands/ListSchemaVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListSchemasCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutCodeBindingCommand.js +1 -28
- package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/SearchSchemasCommand.js +1 -28
- package/dist-cjs/commands/StartDiscovererCommand.js +1 -28
- package/dist-cjs/commands/StopDiscovererCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateDiscovererCommand.js +1 -28
- package/dist-cjs/commands/UpdateRegistryCommand.js +1 -28
- package/dist-cjs/commands/UpdateSchemaCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -34
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3291 -12
- package/dist-cjs/models/SchemasServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -167
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDiscoverersPaginator.js +1 -7
- package/dist-cjs/pagination/ListRegistriesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchemaVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchemasPaginator.js +1 -7
- package/dist-cjs/pagination/SearchSchemasPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2262
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -4
- package/dist-cjs/waiters/waitForCodeBindingExists.js +1 -57
- package/package.json +42 -42
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SchemasServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class SchemasServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, SchemasServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.SchemasServiceException = SchemasServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,167 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PreconditionFailedException = exports.GoneException = exports.TooManyRequestsException = exports.NotFoundException = exports.UnauthorizedException = exports.ServiceUnavailableException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.CodeGenerationStatus = exports.BadRequestException = exports.Type = exports.DiscovererState = void 0;
|
|
4
|
-
const SchemasServiceException_1 = require("./SchemasServiceException");
|
|
5
|
-
exports.DiscovererState = {
|
|
6
|
-
STARTED: "STARTED",
|
|
7
|
-
STOPPED: "STOPPED",
|
|
8
|
-
};
|
|
9
|
-
exports.Type = {
|
|
10
|
-
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
11
|
-
OpenApi3: "OpenApi3",
|
|
12
|
-
};
|
|
13
|
-
class BadRequestException extends SchemasServiceException_1.SchemasServiceException {
|
|
14
|
-
constructor(opts) {
|
|
15
|
-
super({
|
|
16
|
-
name: "BadRequestException",
|
|
17
|
-
$fault: "client",
|
|
18
|
-
...opts,
|
|
19
|
-
});
|
|
20
|
-
this.name = "BadRequestException";
|
|
21
|
-
this.$fault = "client";
|
|
22
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
23
|
-
this.Code = opts.Code;
|
|
24
|
-
this.Message = opts.Message;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.BadRequestException = BadRequestException;
|
|
28
|
-
exports.CodeGenerationStatus = {
|
|
29
|
-
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
30
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
31
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
32
|
-
};
|
|
33
|
-
class ConflictException extends SchemasServiceException_1.SchemasServiceException {
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ConflictException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
this.name = "ConflictException";
|
|
41
|
-
this.$fault = "client";
|
|
42
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
43
|
-
this.Code = opts.Code;
|
|
44
|
-
this.Message = opts.Message;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.ConflictException = ConflictException;
|
|
48
|
-
class ForbiddenException extends SchemasServiceException_1.SchemasServiceException {
|
|
49
|
-
constructor(opts) {
|
|
50
|
-
super({
|
|
51
|
-
name: "ForbiddenException",
|
|
52
|
-
$fault: "client",
|
|
53
|
-
...opts,
|
|
54
|
-
});
|
|
55
|
-
this.name = "ForbiddenException";
|
|
56
|
-
this.$fault = "client";
|
|
57
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
58
|
-
this.Code = opts.Code;
|
|
59
|
-
this.Message = opts.Message;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.ForbiddenException = ForbiddenException;
|
|
63
|
-
class InternalServerErrorException extends SchemasServiceException_1.SchemasServiceException {
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "InternalServerErrorException",
|
|
67
|
-
$fault: "server",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
this.name = "InternalServerErrorException";
|
|
71
|
-
this.$fault = "server";
|
|
72
|
-
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
73
|
-
this.Code = opts.Code;
|
|
74
|
-
this.Message = opts.Message;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.InternalServerErrorException = InternalServerErrorException;
|
|
78
|
-
class ServiceUnavailableException extends SchemasServiceException_1.SchemasServiceException {
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "ServiceUnavailableException",
|
|
82
|
-
$fault: "server",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
this.name = "ServiceUnavailableException";
|
|
86
|
-
this.$fault = "server";
|
|
87
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
88
|
-
this.Code = opts.Code;
|
|
89
|
-
this.Message = opts.Message;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
93
|
-
class UnauthorizedException extends SchemasServiceException_1.SchemasServiceException {
|
|
94
|
-
constructor(opts) {
|
|
95
|
-
super({
|
|
96
|
-
name: "UnauthorizedException",
|
|
97
|
-
$fault: "client",
|
|
98
|
-
...opts,
|
|
99
|
-
});
|
|
100
|
-
this.name = "UnauthorizedException";
|
|
101
|
-
this.$fault = "client";
|
|
102
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
103
|
-
this.Code = opts.Code;
|
|
104
|
-
this.Message = opts.Message;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
exports.UnauthorizedException = UnauthorizedException;
|
|
108
|
-
class NotFoundException extends SchemasServiceException_1.SchemasServiceException {
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "NotFoundException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
this.name = "NotFoundException";
|
|
116
|
-
this.$fault = "client";
|
|
117
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
118
|
-
this.Code = opts.Code;
|
|
119
|
-
this.Message = opts.Message;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
exports.NotFoundException = NotFoundException;
|
|
123
|
-
class TooManyRequestsException extends SchemasServiceException_1.SchemasServiceException {
|
|
124
|
-
constructor(opts) {
|
|
125
|
-
super({
|
|
126
|
-
name: "TooManyRequestsException",
|
|
127
|
-
$fault: "client",
|
|
128
|
-
...opts,
|
|
129
|
-
});
|
|
130
|
-
this.name = "TooManyRequestsException";
|
|
131
|
-
this.$fault = "client";
|
|
132
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
133
|
-
this.Code = opts.Code;
|
|
134
|
-
this.Message = opts.Message;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
138
|
-
class GoneException extends SchemasServiceException_1.SchemasServiceException {
|
|
139
|
-
constructor(opts) {
|
|
140
|
-
super({
|
|
141
|
-
name: "GoneException",
|
|
142
|
-
$fault: "client",
|
|
143
|
-
...opts,
|
|
144
|
-
});
|
|
145
|
-
this.name = "GoneException";
|
|
146
|
-
this.$fault = "client";
|
|
147
|
-
Object.setPrototypeOf(this, GoneException.prototype);
|
|
148
|
-
this.Code = opts.Code;
|
|
149
|
-
this.Message = opts.Message;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
exports.GoneException = GoneException;
|
|
153
|
-
class PreconditionFailedException extends SchemasServiceException_1.SchemasServiceException {
|
|
154
|
-
constructor(opts) {
|
|
155
|
-
super({
|
|
156
|
-
name: "PreconditionFailedException",
|
|
157
|
-
$fault: "client",
|
|
158
|
-
...opts,
|
|
159
|
-
});
|
|
160
|
-
this.name = "PreconditionFailedException";
|
|
161
|
-
this.$fault = "client";
|
|
162
|
-
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
163
|
-
this.Code = opts.Code;
|
|
164
|
-
this.Message = opts.Message;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
exports.PreconditionFailedException = PreconditionFailedException;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListDiscoverers = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListDiscoverersCommand_1 = require("../commands/ListDiscoverersCommand");
|
|
6
|
-
const SchemasClient_1 = require("../SchemasClient");
|
|
7
|
-
exports.paginateListDiscoverers = (0, core_1.createPaginator)(SchemasClient_1.SchemasClient, ListDiscoverersCommand_1.ListDiscoverersCommand, "NextToken", "NextToken", "Limit");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRegistries = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListRegistriesCommand_1 = require("../commands/ListRegistriesCommand");
|
|
6
|
-
const SchemasClient_1 = require("../SchemasClient");
|
|
7
|
-
exports.paginateListRegistries = (0, core_1.createPaginator)(SchemasClient_1.SchemasClient, ListRegistriesCommand_1.ListRegistriesCommand, "NextToken", "NextToken", "Limit");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSchemaVersions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListSchemaVersionsCommand_1 = require("../commands/ListSchemaVersionsCommand");
|
|
6
|
-
const SchemasClient_1 = require("../SchemasClient");
|
|
7
|
-
exports.paginateListSchemaVersions = (0, core_1.createPaginator)(SchemasClient_1.SchemasClient, ListSchemaVersionsCommand_1.ListSchemaVersionsCommand, "NextToken", "NextToken", "Limit");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSchemas = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListSchemasCommand_1 = require("../commands/ListSchemasCommand");
|
|
6
|
-
const SchemasClient_1 = require("../SchemasClient");
|
|
7
|
-
exports.paginateListSchemas = (0, core_1.createPaginator)(SchemasClient_1.SchemasClient, ListSchemasCommand_1.ListSchemasCommand, "NextToken", "NextToken", "Limit");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateSearchSchemas = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const SearchSchemasCommand_1 = require("../commands/SearchSchemasCommand");
|
|
6
|
-
const SchemasClient_1 = require("../SchemasClient");
|
|
7
|
-
exports.paginateSearchSchemas = (0, core_1.createPaginator)(SchemasClient_1.SchemasClient, SearchSchemasCommand_1.SearchSchemasCommand, "NextToken", "NextToken", "Limit");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListDiscoverersPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListRegistriesPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListSchemaVersionsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListSchemasPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./SearchSchemasPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|