@aws-sdk/client-schemas 3.934.0 → 3.936.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 +14 -13
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +161 -0
- package/dist-es/models/models_0.js +1 -174
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +37 -0
- package/dist-types/models/errors.d.ts +212 -0
- package/dist-types/models/models_0.d.ts +2 -249
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/errors.d.ts +84 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -105
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -118,14 +118,6 @@ let SchemasServiceException$1 = class SchemasServiceException extends smithyClie
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
const DiscovererState = {
|
|
122
|
-
STARTED: "STARTED",
|
|
123
|
-
STOPPED: "STOPPED",
|
|
124
|
-
};
|
|
125
|
-
const Type = {
|
|
126
|
-
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
127
|
-
OpenApi3: "OpenApi3",
|
|
128
|
-
};
|
|
129
121
|
let BadRequestException$1 = class BadRequestException extends SchemasServiceException$1 {
|
|
130
122
|
name = "BadRequestException";
|
|
131
123
|
$fault = "client";
|
|
@@ -142,11 +134,6 @@ let BadRequestException$1 = class BadRequestException extends SchemasServiceExce
|
|
|
142
134
|
this.Message = opts.Message;
|
|
143
135
|
}
|
|
144
136
|
};
|
|
145
|
-
const CodeGenerationStatus = {
|
|
146
|
-
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
147
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
148
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
149
|
-
};
|
|
150
137
|
let ConflictException$1 = class ConflictException extends SchemasServiceException$1 {
|
|
151
138
|
name = "ConflictException";
|
|
152
139
|
$fault = "client";
|
|
@@ -2128,6 +2115,20 @@ const waitUntilCodeBindingExists = async (params, input) => {
|
|
|
2128
2115
|
return utilWaiter.checkExceptions(result);
|
|
2129
2116
|
};
|
|
2130
2117
|
|
|
2118
|
+
const DiscovererState = {
|
|
2119
|
+
STARTED: "STARTED",
|
|
2120
|
+
STOPPED: "STOPPED",
|
|
2121
|
+
};
|
|
2122
|
+
const Type = {
|
|
2123
|
+
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
2124
|
+
OpenApi3: "OpenApi3",
|
|
2125
|
+
};
|
|
2126
|
+
const CodeGenerationStatus = {
|
|
2127
|
+
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
2128
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
2129
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2131
2132
|
Object.defineProperty(exports, "$Command", {
|
|
2132
2133
|
enumerable: true,
|
|
2133
2134
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./Schemas";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/enums";
|
|
7
|
+
export * from "./models/errors";
|
|
7
8
|
export { SchemasServiceException } from "./models/SchemasServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const DiscovererState = {
|
|
2
|
+
STARTED: "STARTED",
|
|
3
|
+
STOPPED: "STOPPED",
|
|
4
|
+
};
|
|
5
|
+
export const Type = {
|
|
6
|
+
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
7
|
+
OpenApi3: "OpenApi3",
|
|
8
|
+
};
|
|
9
|
+
export const CodeGenerationStatus = {
|
|
10
|
+
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
11
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
12
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
13
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "BadRequestException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
14
|
+
this.Code = opts.Code;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class ConflictException extends __BaseException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Code;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.Code = opts.Code;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Code;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.Code = opts.Code;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class InternalServerErrorException extends __BaseException {
|
|
51
|
+
name = "InternalServerErrorException";
|
|
52
|
+
$fault = "server";
|
|
53
|
+
Code;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "InternalServerErrorException",
|
|
58
|
+
$fault: "server",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
62
|
+
this.Code = opts.Code;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
67
|
+
name = "ServiceUnavailableException";
|
|
68
|
+
$fault = "server";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ServiceUnavailableException",
|
|
74
|
+
$fault: "server",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
78
|
+
this.Code = opts.Code;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class UnauthorizedException extends __BaseException {
|
|
83
|
+
name = "UnauthorizedException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Code;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "UnauthorizedException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
94
|
+
this.Code = opts.Code;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class NotFoundException extends __BaseException {
|
|
99
|
+
name = "NotFoundException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Code;
|
|
102
|
+
Message;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "NotFoundException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
110
|
+
this.Code = opts.Code;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class TooManyRequestsException extends __BaseException {
|
|
115
|
+
name = "TooManyRequestsException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Code;
|
|
118
|
+
Message;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "TooManyRequestsException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
126
|
+
this.Code = opts.Code;
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class GoneException extends __BaseException {
|
|
131
|
+
name = "GoneException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Code;
|
|
134
|
+
Message;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "GoneException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, GoneException.prototype);
|
|
142
|
+
this.Code = opts.Code;
|
|
143
|
+
this.Message = opts.Message;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class PreconditionFailedException extends __BaseException {
|
|
147
|
+
name = "PreconditionFailedException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
Code;
|
|
150
|
+
Message;
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "PreconditionFailedException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
158
|
+
this.Code = opts.Code;
|
|
159
|
+
this.Message = opts.Message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -1,174 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const DiscovererState = {
|
|
3
|
-
STARTED: "STARTED",
|
|
4
|
-
STOPPED: "STOPPED",
|
|
5
|
-
};
|
|
6
|
-
export const Type = {
|
|
7
|
-
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
8
|
-
OpenApi3: "OpenApi3",
|
|
9
|
-
};
|
|
10
|
-
export class BadRequestException extends __BaseException {
|
|
11
|
-
name = "BadRequestException";
|
|
12
|
-
$fault = "client";
|
|
13
|
-
Code;
|
|
14
|
-
Message;
|
|
15
|
-
constructor(opts) {
|
|
16
|
-
super({
|
|
17
|
-
name: "BadRequestException",
|
|
18
|
-
$fault: "client",
|
|
19
|
-
...opts,
|
|
20
|
-
});
|
|
21
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
22
|
-
this.Code = opts.Code;
|
|
23
|
-
this.Message = opts.Message;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export const CodeGenerationStatus = {
|
|
27
|
-
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
28
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
29
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
30
|
-
};
|
|
31
|
-
export class ConflictException extends __BaseException {
|
|
32
|
-
name = "ConflictException";
|
|
33
|
-
$fault = "client";
|
|
34
|
-
Code;
|
|
35
|
-
Message;
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "ConflictException",
|
|
39
|
-
$fault: "client",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
43
|
-
this.Code = opts.Code;
|
|
44
|
-
this.Message = opts.Message;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export class ForbiddenException extends __BaseException {
|
|
48
|
-
name = "ForbiddenException";
|
|
49
|
-
$fault = "client";
|
|
50
|
-
Code;
|
|
51
|
-
Message;
|
|
52
|
-
constructor(opts) {
|
|
53
|
-
super({
|
|
54
|
-
name: "ForbiddenException",
|
|
55
|
-
$fault: "client",
|
|
56
|
-
...opts,
|
|
57
|
-
});
|
|
58
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
59
|
-
this.Code = opts.Code;
|
|
60
|
-
this.Message = opts.Message;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export class InternalServerErrorException extends __BaseException {
|
|
64
|
-
name = "InternalServerErrorException";
|
|
65
|
-
$fault = "server";
|
|
66
|
-
Code;
|
|
67
|
-
Message;
|
|
68
|
-
constructor(opts) {
|
|
69
|
-
super({
|
|
70
|
-
name: "InternalServerErrorException",
|
|
71
|
-
$fault: "server",
|
|
72
|
-
...opts,
|
|
73
|
-
});
|
|
74
|
-
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
75
|
-
this.Code = opts.Code;
|
|
76
|
-
this.Message = opts.Message;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
80
|
-
name = "ServiceUnavailableException";
|
|
81
|
-
$fault = "server";
|
|
82
|
-
Code;
|
|
83
|
-
Message;
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ServiceUnavailableException",
|
|
87
|
-
$fault: "server",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
91
|
-
this.Code = opts.Code;
|
|
92
|
-
this.Message = opts.Message;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export class UnauthorizedException extends __BaseException {
|
|
96
|
-
name = "UnauthorizedException";
|
|
97
|
-
$fault = "client";
|
|
98
|
-
Code;
|
|
99
|
-
Message;
|
|
100
|
-
constructor(opts) {
|
|
101
|
-
super({
|
|
102
|
-
name: "UnauthorizedException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...opts,
|
|
105
|
-
});
|
|
106
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
107
|
-
this.Code = opts.Code;
|
|
108
|
-
this.Message = opts.Message;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
export class NotFoundException extends __BaseException {
|
|
112
|
-
name = "NotFoundException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
Code;
|
|
115
|
-
Message;
|
|
116
|
-
constructor(opts) {
|
|
117
|
-
super({
|
|
118
|
-
name: "NotFoundException",
|
|
119
|
-
$fault: "client",
|
|
120
|
-
...opts,
|
|
121
|
-
});
|
|
122
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
123
|
-
this.Code = opts.Code;
|
|
124
|
-
this.Message = opts.Message;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
export class TooManyRequestsException extends __BaseException {
|
|
128
|
-
name = "TooManyRequestsException";
|
|
129
|
-
$fault = "client";
|
|
130
|
-
Code;
|
|
131
|
-
Message;
|
|
132
|
-
constructor(opts) {
|
|
133
|
-
super({
|
|
134
|
-
name: "TooManyRequestsException",
|
|
135
|
-
$fault: "client",
|
|
136
|
-
...opts,
|
|
137
|
-
});
|
|
138
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
139
|
-
this.Code = opts.Code;
|
|
140
|
-
this.Message = opts.Message;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
export class GoneException extends __BaseException {
|
|
144
|
-
name = "GoneException";
|
|
145
|
-
$fault = "client";
|
|
146
|
-
Code;
|
|
147
|
-
Message;
|
|
148
|
-
constructor(opts) {
|
|
149
|
-
super({
|
|
150
|
-
name: "GoneException",
|
|
151
|
-
$fault: "client",
|
|
152
|
-
...opts,
|
|
153
|
-
});
|
|
154
|
-
Object.setPrototypeOf(this, GoneException.prototype);
|
|
155
|
-
this.Code = opts.Code;
|
|
156
|
-
this.Message = opts.Message;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
export class PreconditionFailedException extends __BaseException {
|
|
160
|
-
name = "PreconditionFailedException";
|
|
161
|
-
$fault = "client";
|
|
162
|
-
Code;
|
|
163
|
-
Message;
|
|
164
|
-
constructor(opts) {
|
|
165
|
-
super({
|
|
166
|
-
name: "PreconditionFailedException",
|
|
167
|
-
$fault: "client",
|
|
168
|
-
...opts,
|
|
169
|
-
});
|
|
170
|
-
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
171
|
-
this.Code = opts.Code;
|
|
172
|
-
this.Message = opts.Message;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
1
|
+
export {};
|
|
@@ -174,7 +174,7 @@ const _tK = "tagKeys";
|
|
|
174
174
|
const _ty = "type";
|
|
175
175
|
const n0 = "com.amazonaws.schemas";
|
|
176
176
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
177
|
-
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, GoneException as __GoneException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, PreconditionFailedException as __PreconditionFailedException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, UnauthorizedException as __UnauthorizedException, } from "../models/
|
|
177
|
+
import { BadRequestException as __BadRequestException, ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, GoneException as __GoneException, InternalServerErrorException as __InternalServerErrorException, NotFoundException as __NotFoundException, PreconditionFailedException as __PreconditionFailedException, ServiceUnavailableException as __ServiceUnavailableException, TooManyRequestsException as __TooManyRequestsException, UnauthorizedException as __UnauthorizedException, } from "../models/errors";
|
|
178
178
|
import { SchemasServiceException as __SchemasServiceException } from "../models/SchemasServiceException";
|
|
179
179
|
export var SynthesizedJson__string = [
|
|
180
180
|
0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,7 @@ export type { SchemasExtensionConfiguration } from "./extensionConfiguration";
|
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
13
|
export * from "./waiters";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
15
17
|
export { SchemasServiceException } from "./models/SchemasServiceException";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const DiscovererState: {
|
|
6
|
+
readonly STARTED: "STARTED";
|
|
7
|
+
readonly STOPPED: "STOPPED";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type DiscovererState = (typeof DiscovererState)[keyof typeof DiscovererState];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const Type: {
|
|
18
|
+
readonly JSONSchemaDraft4: "JSONSchemaDraft4";
|
|
19
|
+
readonly OpenApi3: "OpenApi3";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const CodeGenerationStatus: {
|
|
30
|
+
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
31
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
32
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type CodeGenerationStatus = (typeof CodeGenerationStatus)[keyof typeof CodeGenerationStatus];
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class BadRequestException extends __BaseException {
|
|
7
|
+
readonly name: "BadRequestException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* <p>The error code.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
Code: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The message string of the error output.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
Message: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare class ConflictException extends __BaseException {
|
|
28
|
+
readonly name: "ConflictException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
/**
|
|
31
|
+
* <p>The error code.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
Code: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The message string of the error output.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
Message: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class ForbiddenException extends __BaseException {
|
|
49
|
+
readonly name: "ForbiddenException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
/**
|
|
52
|
+
* <p>The error code.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
Code: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The message string of the error output.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
Message: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
70
|
+
readonly name: "InternalServerErrorException";
|
|
71
|
+
readonly $fault: "server";
|
|
72
|
+
/**
|
|
73
|
+
* <p>The error code.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
Code: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The message string of the error output.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
Message: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
91
|
+
readonly name: "ServiceUnavailableException";
|
|
92
|
+
readonly $fault: "server";
|
|
93
|
+
/**
|
|
94
|
+
* <p>The error code.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
Code: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The message string of the error output.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
Message: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
112
|
+
readonly name: "UnauthorizedException";
|
|
113
|
+
readonly $fault: "client";
|
|
114
|
+
/**
|
|
115
|
+
* <p>The error code.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
Code: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The message string of the error output.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
Message: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class NotFoundException extends __BaseException {
|
|
133
|
+
readonly name: "NotFoundException";
|
|
134
|
+
readonly $fault: "client";
|
|
135
|
+
/**
|
|
136
|
+
* <p>The error code.</p>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
Code: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The message string of the error output.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
Message: string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
154
|
+
readonly name: "TooManyRequestsException";
|
|
155
|
+
readonly $fault: "client";
|
|
156
|
+
/**
|
|
157
|
+
* <p>The error code.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
Code: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The message string of the error output.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
Message: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export declare class GoneException extends __BaseException {
|
|
175
|
+
readonly name: "GoneException";
|
|
176
|
+
readonly $fault: "client";
|
|
177
|
+
/**
|
|
178
|
+
* <p>The error code.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
Code: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>The message string of the error output.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
Message: string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
190
|
+
constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
196
|
+
readonly name: "PreconditionFailedException";
|
|
197
|
+
readonly $fault: "client";
|
|
198
|
+
/**
|
|
199
|
+
* <p>The error code.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
Code: string | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The message string of the error output.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
Message: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
212
|
+
}
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const DiscovererState: {
|
|
8
|
-
readonly STARTED: "STARTED";
|
|
9
|
-
readonly STOPPED: "STOPPED";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type DiscovererState = (typeof DiscovererState)[keyof typeof DiscovererState];
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
+
import { CodeGenerationStatus, DiscovererState, Type } from "./enums";
|
|
15
3
|
/**
|
|
16
4
|
* @public
|
|
17
5
|
*/
|
|
@@ -98,18 +86,6 @@ export interface SchemaSummary {
|
|
|
98
86
|
*/
|
|
99
87
|
VersionCount?: number | undefined;
|
|
100
88
|
}
|
|
101
|
-
/**
|
|
102
|
-
* @public
|
|
103
|
-
* @enum
|
|
104
|
-
*/
|
|
105
|
-
export declare const Type: {
|
|
106
|
-
readonly JSONSchemaDraft4: "JSONSchemaDraft4";
|
|
107
|
-
readonly OpenApi3: "OpenApi3";
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
export type Type = (typeof Type)[keyof typeof Type];
|
|
113
89
|
/**
|
|
114
90
|
* @public
|
|
115
91
|
*/
|
|
@@ -180,61 +156,6 @@ export interface SearchSchemaSummary {
|
|
|
180
156
|
*/
|
|
181
157
|
SchemaVersions?: SearchSchemaVersionSummary[] | undefined;
|
|
182
158
|
}
|
|
183
|
-
/**
|
|
184
|
-
* @public
|
|
185
|
-
*/
|
|
186
|
-
export declare class BadRequestException extends __BaseException {
|
|
187
|
-
readonly name: "BadRequestException";
|
|
188
|
-
readonly $fault: "client";
|
|
189
|
-
/**
|
|
190
|
-
* <p>The error code.</p>
|
|
191
|
-
* @public
|
|
192
|
-
*/
|
|
193
|
-
Code: string | undefined;
|
|
194
|
-
/**
|
|
195
|
-
* <p>The message string of the error output.</p>
|
|
196
|
-
* @public
|
|
197
|
-
*/
|
|
198
|
-
Message: string | undefined;
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* @enum
|
|
207
|
-
*/
|
|
208
|
-
export declare const CodeGenerationStatus: {
|
|
209
|
-
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
210
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
211
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
212
|
-
};
|
|
213
|
-
/**
|
|
214
|
-
* @public
|
|
215
|
-
*/
|
|
216
|
-
export type CodeGenerationStatus = (typeof CodeGenerationStatus)[keyof typeof CodeGenerationStatus];
|
|
217
|
-
/**
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
220
|
-
export declare class ConflictException extends __BaseException {
|
|
221
|
-
readonly name: "ConflictException";
|
|
222
|
-
readonly $fault: "client";
|
|
223
|
-
/**
|
|
224
|
-
* <p>The error code.</p>
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
Code: string | undefined;
|
|
228
|
-
/**
|
|
229
|
-
* <p>The message string of the error output.</p>
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
Message: string | undefined;
|
|
233
|
-
/**
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
237
|
-
}
|
|
238
159
|
/**
|
|
239
160
|
* @public
|
|
240
161
|
*/
|
|
@@ -300,90 +221,6 @@ export interface CreateDiscovererResponse {
|
|
|
300
221
|
*/
|
|
301
222
|
Tags?: Record<string, string> | undefined;
|
|
302
223
|
}
|
|
303
|
-
/**
|
|
304
|
-
* @public
|
|
305
|
-
*/
|
|
306
|
-
export declare class ForbiddenException extends __BaseException {
|
|
307
|
-
readonly name: "ForbiddenException";
|
|
308
|
-
readonly $fault: "client";
|
|
309
|
-
/**
|
|
310
|
-
* <p>The error code.</p>
|
|
311
|
-
* @public
|
|
312
|
-
*/
|
|
313
|
-
Code: string | undefined;
|
|
314
|
-
/**
|
|
315
|
-
* <p>The message string of the error output.</p>
|
|
316
|
-
* @public
|
|
317
|
-
*/
|
|
318
|
-
Message: string | undefined;
|
|
319
|
-
/**
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
323
|
-
}
|
|
324
|
-
/**
|
|
325
|
-
* @public
|
|
326
|
-
*/
|
|
327
|
-
export declare class InternalServerErrorException extends __BaseException {
|
|
328
|
-
readonly name: "InternalServerErrorException";
|
|
329
|
-
readonly $fault: "server";
|
|
330
|
-
/**
|
|
331
|
-
* <p>The error code.</p>
|
|
332
|
-
* @public
|
|
333
|
-
*/
|
|
334
|
-
Code: string | undefined;
|
|
335
|
-
/**
|
|
336
|
-
* <p>The message string of the error output.</p>
|
|
337
|
-
* @public
|
|
338
|
-
*/
|
|
339
|
-
Message: string | undefined;
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* @public
|
|
347
|
-
*/
|
|
348
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
349
|
-
readonly name: "ServiceUnavailableException";
|
|
350
|
-
readonly $fault: "server";
|
|
351
|
-
/**
|
|
352
|
-
* <p>The error code.</p>
|
|
353
|
-
* @public
|
|
354
|
-
*/
|
|
355
|
-
Code: string | undefined;
|
|
356
|
-
/**
|
|
357
|
-
* <p>The message string of the error output.</p>
|
|
358
|
-
* @public
|
|
359
|
-
*/
|
|
360
|
-
Message: string | undefined;
|
|
361
|
-
/**
|
|
362
|
-
* @internal
|
|
363
|
-
*/
|
|
364
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
365
|
-
}
|
|
366
|
-
/**
|
|
367
|
-
* @public
|
|
368
|
-
*/
|
|
369
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
370
|
-
readonly name: "UnauthorizedException";
|
|
371
|
-
readonly $fault: "client";
|
|
372
|
-
/**
|
|
373
|
-
* <p>The error code.</p>
|
|
374
|
-
* @public
|
|
375
|
-
*/
|
|
376
|
-
Code: string | undefined;
|
|
377
|
-
/**
|
|
378
|
-
* <p>The message string of the error output.</p>
|
|
379
|
-
* @public
|
|
380
|
-
*/
|
|
381
|
-
Message: string | undefined;
|
|
382
|
-
/**
|
|
383
|
-
* @internal
|
|
384
|
-
*/
|
|
385
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
386
|
-
}
|
|
387
224
|
/**
|
|
388
225
|
* @public
|
|
389
226
|
*/
|
|
@@ -519,27 +356,6 @@ export interface DeleteDiscovererRequest {
|
|
|
519
356
|
*/
|
|
520
357
|
DiscovererId: string | undefined;
|
|
521
358
|
}
|
|
522
|
-
/**
|
|
523
|
-
* @public
|
|
524
|
-
*/
|
|
525
|
-
export declare class NotFoundException extends __BaseException {
|
|
526
|
-
readonly name: "NotFoundException";
|
|
527
|
-
readonly $fault: "client";
|
|
528
|
-
/**
|
|
529
|
-
* <p>The error code.</p>
|
|
530
|
-
* @public
|
|
531
|
-
*/
|
|
532
|
-
Code: string | undefined;
|
|
533
|
-
/**
|
|
534
|
-
* <p>The message string of the error output.</p>
|
|
535
|
-
* @public
|
|
536
|
-
*/
|
|
537
|
-
Message: string | undefined;
|
|
538
|
-
/**
|
|
539
|
-
* @internal
|
|
540
|
-
*/
|
|
541
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
542
|
-
}
|
|
543
359
|
/**
|
|
544
360
|
* @public
|
|
545
361
|
*/
|
|
@@ -645,27 +461,6 @@ export interface DescribeCodeBindingResponse {
|
|
|
645
461
|
*/
|
|
646
462
|
Status?: CodeGenerationStatus | undefined;
|
|
647
463
|
}
|
|
648
|
-
/**
|
|
649
|
-
* @public
|
|
650
|
-
*/
|
|
651
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
652
|
-
readonly name: "TooManyRequestsException";
|
|
653
|
-
readonly $fault: "client";
|
|
654
|
-
/**
|
|
655
|
-
* <p>The error code.</p>
|
|
656
|
-
* @public
|
|
657
|
-
*/
|
|
658
|
-
Code: string | undefined;
|
|
659
|
-
/**
|
|
660
|
-
* <p>The message string of the error output.</p>
|
|
661
|
-
* @public
|
|
662
|
-
*/
|
|
663
|
-
Message: string | undefined;
|
|
664
|
-
/**
|
|
665
|
-
* @internal
|
|
666
|
-
*/
|
|
667
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
668
|
-
}
|
|
669
464
|
/**
|
|
670
465
|
* @public
|
|
671
466
|
*/
|
|
@@ -933,27 +728,6 @@ export interface GetResourcePolicyResponse {
|
|
|
933
728
|
*/
|
|
934
729
|
RevisionId?: string | undefined;
|
|
935
730
|
}
|
|
936
|
-
/**
|
|
937
|
-
* @public
|
|
938
|
-
*/
|
|
939
|
-
export declare class GoneException extends __BaseException {
|
|
940
|
-
readonly name: "GoneException";
|
|
941
|
-
readonly $fault: "client";
|
|
942
|
-
/**
|
|
943
|
-
* <p>The error code.</p>
|
|
944
|
-
* @public
|
|
945
|
-
*/
|
|
946
|
-
Code: string | undefined;
|
|
947
|
-
/**
|
|
948
|
-
* <p>The message string of the error output.</p>
|
|
949
|
-
* @public
|
|
950
|
-
*/
|
|
951
|
-
Message: string | undefined;
|
|
952
|
-
/**
|
|
953
|
-
* @internal
|
|
954
|
-
*/
|
|
955
|
-
constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
|
|
956
|
-
}
|
|
957
731
|
/**
|
|
958
732
|
* @public
|
|
959
733
|
*/
|
|
@@ -1118,27 +892,6 @@ export interface ListTagsForResourceResponse {
|
|
|
1118
892
|
*/
|
|
1119
893
|
Tags?: Record<string, string> | undefined;
|
|
1120
894
|
}
|
|
1121
|
-
/**
|
|
1122
|
-
* @public
|
|
1123
|
-
*/
|
|
1124
|
-
export declare class PreconditionFailedException extends __BaseException {
|
|
1125
|
-
readonly name: "PreconditionFailedException";
|
|
1126
|
-
readonly $fault: "client";
|
|
1127
|
-
/**
|
|
1128
|
-
* <p>The error code.</p>
|
|
1129
|
-
* @public
|
|
1130
|
-
*/
|
|
1131
|
-
Code: string | undefined;
|
|
1132
|
-
/**
|
|
1133
|
-
* <p>The message string of the error output.</p>
|
|
1134
|
-
* @public
|
|
1135
|
-
*/
|
|
1136
|
-
Message: string | undefined;
|
|
1137
|
-
/**
|
|
1138
|
-
* @internal
|
|
1139
|
-
*/
|
|
1140
|
-
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
1141
|
-
}
|
|
1142
895
|
/**
|
|
1143
896
|
* @public
|
|
1144
897
|
*/
|
|
@@ -6,5 +6,7 @@ export { SchemasExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./waiters";
|
|
9
|
-
export * from "./models";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
10
12
|
export { SchemasServiceException } from "./models/SchemasServiceException";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const DiscovererState: {
|
|
2
|
+
readonly STARTED: "STARTED";
|
|
3
|
+
readonly STOPPED: "STOPPED";
|
|
4
|
+
};
|
|
5
|
+
export type DiscovererState =
|
|
6
|
+
(typeof DiscovererState)[keyof typeof DiscovererState];
|
|
7
|
+
export declare const Type: {
|
|
8
|
+
readonly JSONSchemaDraft4: "JSONSchemaDraft4";
|
|
9
|
+
readonly OpenApi3: "OpenApi3";
|
|
10
|
+
};
|
|
11
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
12
|
+
export declare const CodeGenerationStatus: {
|
|
13
|
+
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
14
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
15
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
16
|
+
};
|
|
17
|
+
export type CodeGenerationStatus =
|
|
18
|
+
(typeof CodeGenerationStatus)[keyof typeof CodeGenerationStatus];
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
3
|
+
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
readonly name: "BadRequestException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Code: string | undefined;
|
|
7
|
+
Message: string | undefined;
|
|
8
|
+
constructor(
|
|
9
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
export declare class ConflictException extends __BaseException {
|
|
13
|
+
readonly name: "ConflictException";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
Code: string | undefined;
|
|
16
|
+
Message: string | undefined;
|
|
17
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
18
|
+
}
|
|
19
|
+
export declare class ForbiddenException extends __BaseException {
|
|
20
|
+
readonly name: "ForbiddenException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Code: string | undefined;
|
|
23
|
+
Message: string | undefined;
|
|
24
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
25
|
+
}
|
|
26
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
27
|
+
readonly name: "InternalServerErrorException";
|
|
28
|
+
readonly $fault: "server";
|
|
29
|
+
Code: string | undefined;
|
|
30
|
+
Message: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
36
|
+
readonly name: "ServiceUnavailableException";
|
|
37
|
+
readonly $fault: "server";
|
|
38
|
+
Code: string | undefined;
|
|
39
|
+
Message: string | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
45
|
+
readonly name: "UnauthorizedException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
Code: string | undefined;
|
|
48
|
+
Message: string | undefined;
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export declare class NotFoundException extends __BaseException {
|
|
54
|
+
readonly name: "NotFoundException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
Code: string | undefined;
|
|
57
|
+
Message: string | undefined;
|
|
58
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
59
|
+
}
|
|
60
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
61
|
+
readonly name: "TooManyRequestsException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
Code: string | undefined;
|
|
64
|
+
Message: string | undefined;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export declare class GoneException extends __BaseException {
|
|
70
|
+
readonly name: "GoneException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
Code: string | undefined;
|
|
73
|
+
Message: string | undefined;
|
|
74
|
+
constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
|
|
75
|
+
}
|
|
76
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
77
|
+
readonly name: "PreconditionFailedException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
Code: string | undefined;
|
|
80
|
+
Message: string | undefined;
|
|
81
|
+
constructor(
|
|
82
|
+
opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>
|
|
83
|
+
);
|
|
84
|
+
}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
ExceptionOptionType as __ExceptionOptionType,
|
|
4
|
-
} from "@smithy/smithy-client";
|
|
5
|
-
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
6
|
-
export declare const DiscovererState: {
|
|
7
|
-
readonly STARTED: "STARTED";
|
|
8
|
-
readonly STOPPED: "STOPPED";
|
|
9
|
-
};
|
|
10
|
-
export type DiscovererState =
|
|
11
|
-
(typeof DiscovererState)[keyof typeof DiscovererState];
|
|
1
|
+
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
+
import { CodeGenerationStatus, DiscovererState, Type } from "./enums";
|
|
12
3
|
export interface DiscovererSummary {
|
|
13
4
|
DiscovererArn?: string | undefined;
|
|
14
5
|
DiscovererId?: string | undefined;
|
|
@@ -29,11 +20,6 @@ export interface SchemaSummary {
|
|
|
29
20
|
Tags?: Record<string, string> | undefined;
|
|
30
21
|
VersionCount?: number | undefined;
|
|
31
22
|
}
|
|
32
|
-
export declare const Type: {
|
|
33
|
-
readonly JSONSchemaDraft4: "JSONSchemaDraft4";
|
|
34
|
-
readonly OpenApi3: "OpenApi3";
|
|
35
|
-
};
|
|
36
|
-
export type Type = (typeof Type)[keyof typeof Type];
|
|
37
23
|
export interface SchemaVersionSummary {
|
|
38
24
|
SchemaArn?: string | undefined;
|
|
39
25
|
SchemaName?: string | undefined;
|
|
@@ -51,29 +37,6 @@ export interface SearchSchemaSummary {
|
|
|
51
37
|
SchemaName?: string | undefined;
|
|
52
38
|
SchemaVersions?: SearchSchemaVersionSummary[] | undefined;
|
|
53
39
|
}
|
|
54
|
-
export declare class BadRequestException extends __BaseException {
|
|
55
|
-
readonly name: "BadRequestException";
|
|
56
|
-
readonly $fault: "client";
|
|
57
|
-
Code: string | undefined;
|
|
58
|
-
Message: string | undefined;
|
|
59
|
-
constructor(
|
|
60
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
export declare const CodeGenerationStatus: {
|
|
64
|
-
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
65
|
-
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
66
|
-
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
67
|
-
};
|
|
68
|
-
export type CodeGenerationStatus =
|
|
69
|
-
(typeof CodeGenerationStatus)[keyof typeof CodeGenerationStatus];
|
|
70
|
-
export declare class ConflictException extends __BaseException {
|
|
71
|
-
readonly name: "ConflictException";
|
|
72
|
-
readonly $fault: "client";
|
|
73
|
-
Code: string | undefined;
|
|
74
|
-
Message: string | undefined;
|
|
75
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
76
|
-
}
|
|
77
40
|
export interface CreateDiscovererRequest {
|
|
78
41
|
Description?: string | undefined;
|
|
79
42
|
SourceArn: string | undefined;
|
|
@@ -89,40 +52,6 @@ export interface CreateDiscovererResponse {
|
|
|
89
52
|
CrossAccount?: boolean | undefined;
|
|
90
53
|
Tags?: Record<string, string> | undefined;
|
|
91
54
|
}
|
|
92
|
-
export declare class ForbiddenException extends __BaseException {
|
|
93
|
-
readonly name: "ForbiddenException";
|
|
94
|
-
readonly $fault: "client";
|
|
95
|
-
Code: string | undefined;
|
|
96
|
-
Message: string | undefined;
|
|
97
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
98
|
-
}
|
|
99
|
-
export declare class InternalServerErrorException extends __BaseException {
|
|
100
|
-
readonly name: "InternalServerErrorException";
|
|
101
|
-
readonly $fault: "server";
|
|
102
|
-
Code: string | undefined;
|
|
103
|
-
Message: string | undefined;
|
|
104
|
-
constructor(
|
|
105
|
-
opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
109
|
-
readonly name: "ServiceUnavailableException";
|
|
110
|
-
readonly $fault: "server";
|
|
111
|
-
Code: string | undefined;
|
|
112
|
-
Message: string | undefined;
|
|
113
|
-
constructor(
|
|
114
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
118
|
-
readonly name: "UnauthorizedException";
|
|
119
|
-
readonly $fault: "client";
|
|
120
|
-
Code: string | undefined;
|
|
121
|
-
Message: string | undefined;
|
|
122
|
-
constructor(
|
|
123
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
55
|
export interface CreateRegistryRequest {
|
|
127
56
|
Description?: string | undefined;
|
|
128
57
|
RegistryName: string | undefined;
|
|
@@ -155,13 +84,6 @@ export interface CreateSchemaResponse {
|
|
|
155
84
|
export interface DeleteDiscovererRequest {
|
|
156
85
|
DiscovererId: string | undefined;
|
|
157
86
|
}
|
|
158
|
-
export declare class NotFoundException extends __BaseException {
|
|
159
|
-
readonly name: "NotFoundException";
|
|
160
|
-
readonly $fault: "client";
|
|
161
|
-
Code: string | undefined;
|
|
162
|
-
Message: string | undefined;
|
|
163
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
164
|
-
}
|
|
165
87
|
export interface DeleteRegistryRequest {
|
|
166
88
|
RegistryName: string | undefined;
|
|
167
89
|
}
|
|
@@ -189,15 +111,6 @@ export interface DescribeCodeBindingResponse {
|
|
|
189
111
|
SchemaVersion?: string | undefined;
|
|
190
112
|
Status?: CodeGenerationStatus | undefined;
|
|
191
113
|
}
|
|
192
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
193
|
-
readonly name: "TooManyRequestsException";
|
|
194
|
-
readonly $fault: "client";
|
|
195
|
-
Code: string | undefined;
|
|
196
|
-
Message: string | undefined;
|
|
197
|
-
constructor(
|
|
198
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
199
|
-
);
|
|
200
|
-
}
|
|
201
114
|
export interface DescribeDiscovererRequest {
|
|
202
115
|
DiscovererId: string | undefined;
|
|
203
116
|
}
|
|
@@ -271,13 +184,6 @@ export interface GetResourcePolicyResponse {
|
|
|
271
184
|
Policy?: __AutomaticJsonStringConversion | string | undefined;
|
|
272
185
|
RevisionId?: string | undefined;
|
|
273
186
|
}
|
|
274
|
-
export declare class GoneException extends __BaseException {
|
|
275
|
-
readonly name: "GoneException";
|
|
276
|
-
readonly $fault: "client";
|
|
277
|
-
Code: string | undefined;
|
|
278
|
-
Message: string | undefined;
|
|
279
|
-
constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
|
|
280
|
-
}
|
|
281
187
|
export interface ListDiscoverersRequest {
|
|
282
188
|
DiscovererIdPrefix?: string | undefined;
|
|
283
189
|
Limit?: number | undefined;
|
|
@@ -324,15 +230,6 @@ export interface ListTagsForResourceRequest {
|
|
|
324
230
|
export interface ListTagsForResourceResponse {
|
|
325
231
|
Tags?: Record<string, string> | undefined;
|
|
326
232
|
}
|
|
327
|
-
export declare class PreconditionFailedException extends __BaseException {
|
|
328
|
-
readonly name: "PreconditionFailedException";
|
|
329
|
-
readonly $fault: "client";
|
|
330
|
-
Code: string | undefined;
|
|
331
|
-
Message: string | undefined;
|
|
332
|
-
constructor(
|
|
333
|
-
opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
233
|
export interface PutCodeBindingRequest {
|
|
337
234
|
Language: string | undefined;
|
|
338
235
|
RegistryName: string | undefined;
|
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.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-schemas",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|