@aws-sdk/client-schemas 3.301.0 → 3.303.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/models/models_0.js +13 -16
- package/dist-es/models/models_0.js +13 -16
- package/dist-types/models/models_0.d.ts +28 -13
- package/dist-types/ts3.4/models/models_0.d.ts +18 -13
- package/package.json +35 -35
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
4
|
const SchemasServiceException_1 = require("./SchemasServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Type["OpenApi3"] = "OpenApi3";
|
|
14
|
-
})(Type = exports.Type || (exports.Type = {}));
|
|
5
|
+
exports.DiscovererState = {
|
|
6
|
+
STARTED: "STARTED",
|
|
7
|
+
STOPPED: "STOPPED",
|
|
8
|
+
};
|
|
9
|
+
exports.Type = {
|
|
10
|
+
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
11
|
+
OpenApi3: "OpenApi3",
|
|
12
|
+
};
|
|
15
13
|
class BadRequestException extends SchemasServiceException_1.SchemasServiceException {
|
|
16
14
|
constructor(opts) {
|
|
17
15
|
super({
|
|
@@ -27,12 +25,11 @@ class BadRequestException extends SchemasServiceException_1.SchemasServiceExcept
|
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
27
|
exports.BadRequestException = BadRequestException;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})(CodeGenerationStatus = exports.CodeGenerationStatus || (exports.CodeGenerationStatus = {}));
|
|
28
|
+
exports.CodeGenerationStatus = {
|
|
29
|
+
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
30
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
31
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
32
|
+
};
|
|
36
33
|
class ConflictException extends SchemasServiceException_1.SchemasServiceException {
|
|
37
34
|
constructor(opts) {
|
|
38
35
|
super({
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Type["OpenApi3"] = "OpenApi3";
|
|
11
|
-
})(Type || (Type = {}));
|
|
2
|
+
export const DiscovererState = {
|
|
3
|
+
STARTED: "STARTED",
|
|
4
|
+
STOPPED: "STOPPED",
|
|
5
|
+
};
|
|
6
|
+
export const Type = {
|
|
7
|
+
JSONSchemaDraft4: "JSONSchemaDraft4",
|
|
8
|
+
OpenApi3: "OpenApi3",
|
|
9
|
+
};
|
|
12
10
|
export class BadRequestException extends __BaseException {
|
|
13
11
|
constructor(opts) {
|
|
14
12
|
super({
|
|
@@ -23,12 +21,11 @@ export class BadRequestException extends __BaseException {
|
|
|
23
21
|
this.Message = opts.Message;
|
|
24
22
|
}
|
|
25
23
|
}
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})(CodeGenerationStatus || (CodeGenerationStatus = {}));
|
|
24
|
+
export const CodeGenerationStatus = {
|
|
25
|
+
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
26
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
27
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
28
|
+
};
|
|
32
29
|
export class ConflictException extends __BaseException {
|
|
33
30
|
constructor(opts) {
|
|
34
31
|
super({
|
|
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJ
|
|
|
2
2
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
STARTED
|
|
8
|
-
STOPPED
|
|
9
|
-
}
|
|
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];
|
|
10
15
|
/**
|
|
11
16
|
* @public
|
|
12
17
|
*/
|
|
@@ -81,11 +86,16 @@ export interface SchemaSummary {
|
|
|
81
86
|
}
|
|
82
87
|
/**
|
|
83
88
|
* @public
|
|
89
|
+
* @enum
|
|
84
90
|
*/
|
|
85
|
-
export declare
|
|
86
|
-
JSONSchemaDraft4
|
|
87
|
-
OpenApi3
|
|
88
|
-
}
|
|
91
|
+
export declare const Type: {
|
|
92
|
+
readonly JSONSchemaDraft4: "JSONSchemaDraft4";
|
|
93
|
+
readonly OpenApi3: "OpenApi3";
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
89
99
|
/**
|
|
90
100
|
* @public
|
|
91
101
|
*/
|
|
@@ -166,12 +176,17 @@ export declare class BadRequestException extends __BaseException {
|
|
|
166
176
|
}
|
|
167
177
|
/**
|
|
168
178
|
* @public
|
|
179
|
+
* @enum
|
|
169
180
|
*/
|
|
170
|
-
export declare
|
|
171
|
-
CREATE_COMPLETE
|
|
172
|
-
CREATE_FAILED
|
|
173
|
-
CREATE_IN_PROGRESS
|
|
174
|
-
}
|
|
181
|
+
export declare const CodeGenerationStatus: {
|
|
182
|
+
readonly CREATE_COMPLETE: "CREATE_COMPLETE";
|
|
183
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
184
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export type CodeGenerationStatus = (typeof CodeGenerationStatus)[keyof typeof CodeGenerationStatus];
|
|
175
190
|
/**
|
|
176
191
|
* @public
|
|
177
192
|
*/
|
|
@@ -3,10 +3,12 @@ import {
|
|
|
3
3
|
LazyJsonString as __LazyJsonString,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
5
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
6
|
-
export declare
|
|
7
|
-
STARTED
|
|
8
|
-
STOPPED
|
|
9
|
-
}
|
|
6
|
+
export declare const DiscovererState: {
|
|
7
|
+
readonly STARTED: "STARTED";
|
|
8
|
+
readonly STOPPED: "STOPPED";
|
|
9
|
+
};
|
|
10
|
+
export type DiscovererState =
|
|
11
|
+
(typeof DiscovererState)[keyof typeof DiscovererState];
|
|
10
12
|
export interface DiscovererSummary {
|
|
11
13
|
DiscovererArn?: string;
|
|
12
14
|
DiscovererId?: string;
|
|
@@ -27,10 +29,11 @@ export interface SchemaSummary {
|
|
|
27
29
|
Tags?: Record<string, string>;
|
|
28
30
|
VersionCount?: number;
|
|
29
31
|
}
|
|
30
|
-
export declare
|
|
31
|
-
JSONSchemaDraft4
|
|
32
|
-
OpenApi3
|
|
33
|
-
}
|
|
32
|
+
export declare const Type: {
|
|
33
|
+
readonly JSONSchemaDraft4: "JSONSchemaDraft4";
|
|
34
|
+
readonly OpenApi3: "OpenApi3";
|
|
35
|
+
};
|
|
36
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
34
37
|
export interface SchemaVersionSummary {
|
|
35
38
|
SchemaArn?: string;
|
|
36
39
|
SchemaName?: string;
|
|
@@ -57,11 +60,13 @@ export declare class BadRequestException extends __BaseException {
|
|
|
57
60
|
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
58
61
|
);
|
|
59
62
|
}
|
|
60
|
-
export declare
|
|
61
|
-
CREATE_COMPLETE
|
|
62
|
-
CREATE_FAILED
|
|
63
|
-
CREATE_IN_PROGRESS
|
|
64
|
-
}
|
|
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];
|
|
65
70
|
export declare class ConflictException extends __BaseException {
|
|
66
71
|
readonly name: "ConflictException";
|
|
67
72
|
readonly $fault: "client";
|
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.303.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,44 +21,44 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.303.0",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
58
58
|
"uuid": "^8.3.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
62
62
|
"@tsconfig/node14": "1.0.3",
|
|
63
63
|
"@types/node": "^14.14.31",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|