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