@aws-sdk/client-omics 3.987.0 → 3.989.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 +115 -3048
- package/dist-cjs/models/OmicsServiceException.js +12 -0
- package/dist-cjs/models/errors.js +139 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2477 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +150 -144
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +14 -14
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OmicsServiceException = 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 OmicsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, OmicsServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.OmicsServiceException = OmicsServiceException;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RangeNotSatisfiableException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.RequestTimeoutException = exports.NotSupportedOperationException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const OmicsServiceException_1 = require("./OmicsServiceException");
|
|
5
|
+
class AccessDeniedException extends OmicsServiceException_1.OmicsServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class InternalServerException extends OmicsServiceException_1.OmicsServiceException {
|
|
19
|
+
name = "InternalServerException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
$retryable = {};
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "InternalServerException",
|
|
25
|
+
$fault: "server",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.InternalServerException = InternalServerException;
|
|
32
|
+
class NotSupportedOperationException extends OmicsServiceException_1.OmicsServiceException {
|
|
33
|
+
name = "NotSupportedOperationException";
|
|
34
|
+
$fault = "client";
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "NotSupportedOperationException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, NotSupportedOperationException.prototype);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.NotSupportedOperationException = NotSupportedOperationException;
|
|
45
|
+
class RequestTimeoutException extends OmicsServiceException_1.OmicsServiceException {
|
|
46
|
+
name = "RequestTimeoutException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "RequestTimeoutException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.RequestTimeoutException = RequestTimeoutException;
|
|
58
|
+
class ResourceNotFoundException extends OmicsServiceException_1.OmicsServiceException {
|
|
59
|
+
name = "ResourceNotFoundException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "ResourceNotFoundException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
71
|
+
class ServiceQuotaExceededException extends OmicsServiceException_1.OmicsServiceException {
|
|
72
|
+
name = "ServiceQuotaExceededException";
|
|
73
|
+
$fault = "client";
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ServiceQuotaExceededException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
84
|
+
class ThrottlingException extends OmicsServiceException_1.OmicsServiceException {
|
|
85
|
+
name = "ThrottlingException";
|
|
86
|
+
$fault = "client";
|
|
87
|
+
$retryable = {
|
|
88
|
+
throttling: true,
|
|
89
|
+
};
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ThrottlingException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ThrottlingException = ThrottlingException;
|
|
100
|
+
class ValidationException extends OmicsServiceException_1.OmicsServiceException {
|
|
101
|
+
name = "ValidationException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ValidationException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.ValidationException = ValidationException;
|
|
113
|
+
class ConflictException extends OmicsServiceException_1.OmicsServiceException {
|
|
114
|
+
name = "ConflictException";
|
|
115
|
+
$fault = "client";
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "ConflictException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.ConflictException = ConflictException;
|
|
126
|
+
class RangeNotSatisfiableException extends OmicsServiceException_1.OmicsServiceException {
|
|
127
|
+
name = "RangeNotSatisfiableException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
$retryable = {};
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "RangeNotSatisfiableException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, RangeNotSatisfiableException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.RangeNotSatisfiableException = RangeNotSatisfiableException;
|
|
@@ -10,6 +10,7 @@ const util_stream_1 = require("@smithy/util-stream");
|
|
|
10
10
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
11
11
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
12
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
14
|
const getRuntimeConfig = (config) => {
|
|
14
15
|
return {
|
|
15
16
|
apiVersion: "2022-11-28",
|
|
@@ -30,6 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
32
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
33
|
defaultNamespace: "com.amazonaws.omics",
|
|
34
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
33
35
|
version: "2022-11-28",
|
|
34
36
|
serviceTarget: "Omics",
|
|
35
37
|
},
|