@aws-sdk/client-cloudcontrol 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 +27 -737
- package/dist-cjs/models/CloudControlServiceException.js +12 -0
- package/dist-cjs/models/errors.js +319 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +369 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +128 -122
- package/dist-types/schemas/schemas_0.d.ts +26 -19
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -19
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudControlServiceException = 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 CloudControlServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, CloudControlServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.CloudControlServiceException = CloudControlServiceException;
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnsupportedActionException = exports.TypeNotFoundException = exports.ThrottlingException = exports.ServiceLimitExceededException = exports.ServiceInternalErrorException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PrivateTypeException = exports.NotUpdatableException = exports.NotStabilizedException = exports.NetworkFailureException = exports.InvalidRequestException = exports.InvalidCredentialsException = exports.HandlerInternalFailureException = exports.HandlerFailureException = exports.GeneralServiceException = exports.ConcurrentOperationException = exports.ClientTokenConflictException = exports.RequestTokenNotFoundException = exports.ConcurrentModificationException = exports.AlreadyExistsException = void 0;
|
|
4
|
+
const CloudControlServiceException_1 = require("./CloudControlServiceException");
|
|
5
|
+
class AlreadyExistsException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
6
|
+
name = "AlreadyExistsException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AlreadyExistsException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AlreadyExistsException = AlreadyExistsException;
|
|
20
|
+
class ConcurrentModificationException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
21
|
+
name = "ConcurrentModificationException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConcurrentModificationException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
35
|
+
class RequestTokenNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
36
|
+
name = "RequestTokenNotFoundException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "RequestTokenNotFoundException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.RequestTokenNotFoundException = RequestTokenNotFoundException;
|
|
50
|
+
class ClientTokenConflictException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
51
|
+
name = "ClientTokenConflictException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ClientTokenConflictException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ClientTokenConflictException = ClientTokenConflictException;
|
|
65
|
+
class ConcurrentOperationException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
66
|
+
name = "ConcurrentOperationException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ConcurrentOperationException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ConcurrentOperationException = ConcurrentOperationException;
|
|
80
|
+
class GeneralServiceException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
81
|
+
name = "GeneralServiceException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "GeneralServiceException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, GeneralServiceException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.GeneralServiceException = GeneralServiceException;
|
|
95
|
+
class HandlerFailureException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
96
|
+
name = "HandlerFailureException";
|
|
97
|
+
$fault = "server";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "HandlerFailureException",
|
|
102
|
+
$fault: "server",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, HandlerFailureException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.HandlerFailureException = HandlerFailureException;
|
|
110
|
+
class HandlerInternalFailureException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
111
|
+
name = "HandlerInternalFailureException";
|
|
112
|
+
$fault = "server";
|
|
113
|
+
Message;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "HandlerInternalFailureException",
|
|
117
|
+
$fault: "server",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.HandlerInternalFailureException = HandlerInternalFailureException;
|
|
125
|
+
class InvalidCredentialsException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
126
|
+
name = "InvalidCredentialsException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
Message;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "InvalidCredentialsException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
|
|
136
|
+
this.Message = opts.Message;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.InvalidCredentialsException = InvalidCredentialsException;
|
|
140
|
+
class InvalidRequestException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
141
|
+
name = "InvalidRequestException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "InvalidRequestException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
155
|
+
class NetworkFailureException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
156
|
+
name = "NetworkFailureException";
|
|
157
|
+
$fault = "server";
|
|
158
|
+
Message;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "NetworkFailureException",
|
|
162
|
+
$fault: "server",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, NetworkFailureException.prototype);
|
|
166
|
+
this.Message = opts.Message;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.NetworkFailureException = NetworkFailureException;
|
|
170
|
+
class NotStabilizedException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
171
|
+
name = "NotStabilizedException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
Message;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "NotStabilizedException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, NotStabilizedException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.NotStabilizedException = NotStabilizedException;
|
|
185
|
+
class NotUpdatableException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
186
|
+
name = "NotUpdatableException";
|
|
187
|
+
$fault = "client";
|
|
188
|
+
Message;
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "NotUpdatableException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, NotUpdatableException.prototype);
|
|
196
|
+
this.Message = opts.Message;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.NotUpdatableException = NotUpdatableException;
|
|
200
|
+
class PrivateTypeException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
201
|
+
name = "PrivateTypeException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
Message;
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "PrivateTypeException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts,
|
|
209
|
+
});
|
|
210
|
+
Object.setPrototypeOf(this, PrivateTypeException.prototype);
|
|
211
|
+
this.Message = opts.Message;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.PrivateTypeException = PrivateTypeException;
|
|
215
|
+
class ResourceConflictException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
216
|
+
name = "ResourceConflictException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
Message;
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "ResourceConflictException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
226
|
+
this.Message = opts.Message;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.ResourceConflictException = ResourceConflictException;
|
|
230
|
+
class ResourceNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
231
|
+
name = "ResourceNotFoundException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
Message;
|
|
234
|
+
constructor(opts) {
|
|
235
|
+
super({
|
|
236
|
+
name: "ResourceNotFoundException",
|
|
237
|
+
$fault: "client",
|
|
238
|
+
...opts,
|
|
239
|
+
});
|
|
240
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
241
|
+
this.Message = opts.Message;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
245
|
+
class ServiceInternalErrorException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
246
|
+
name = "ServiceInternalErrorException";
|
|
247
|
+
$fault = "server";
|
|
248
|
+
Message;
|
|
249
|
+
constructor(opts) {
|
|
250
|
+
super({
|
|
251
|
+
name: "ServiceInternalErrorException",
|
|
252
|
+
$fault: "server",
|
|
253
|
+
...opts,
|
|
254
|
+
});
|
|
255
|
+
Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
|
|
256
|
+
this.Message = opts.Message;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
exports.ServiceInternalErrorException = ServiceInternalErrorException;
|
|
260
|
+
class ServiceLimitExceededException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
261
|
+
name = "ServiceLimitExceededException";
|
|
262
|
+
$fault = "client";
|
|
263
|
+
Message;
|
|
264
|
+
constructor(opts) {
|
|
265
|
+
super({
|
|
266
|
+
name: "ServiceLimitExceededException",
|
|
267
|
+
$fault: "client",
|
|
268
|
+
...opts,
|
|
269
|
+
});
|
|
270
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
271
|
+
this.Message = opts.Message;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
exports.ServiceLimitExceededException = ServiceLimitExceededException;
|
|
275
|
+
class ThrottlingException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
276
|
+
name = "ThrottlingException";
|
|
277
|
+
$fault = "client";
|
|
278
|
+
Message;
|
|
279
|
+
constructor(opts) {
|
|
280
|
+
super({
|
|
281
|
+
name: "ThrottlingException",
|
|
282
|
+
$fault: "client",
|
|
283
|
+
...opts,
|
|
284
|
+
});
|
|
285
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
286
|
+
this.Message = opts.Message;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
exports.ThrottlingException = ThrottlingException;
|
|
290
|
+
class TypeNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
291
|
+
name = "TypeNotFoundException";
|
|
292
|
+
$fault = "client";
|
|
293
|
+
Message;
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "TypeNotFoundException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
Object.setPrototypeOf(this, TypeNotFoundException.prototype);
|
|
301
|
+
this.Message = opts.Message;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.TypeNotFoundException = TypeNotFoundException;
|
|
305
|
+
class UnsupportedActionException extends CloudControlServiceException_1.CloudControlServiceException {
|
|
306
|
+
name = "UnsupportedActionException";
|
|
307
|
+
$fault = "client";
|
|
308
|
+
Message;
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "UnsupportedActionException",
|
|
312
|
+
$fault: "client",
|
|
313
|
+
...opts,
|
|
314
|
+
});
|
|
315
|
+
Object.setPrototypeOf(this, UnsupportedActionException.prototype);
|
|
316
|
+
this.Message = opts.Message;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
exports.UnsupportedActionException = UnsupportedActionException;
|
|
@@ -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: "2021-09-30",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.cloudcontrol",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2021-09-30",
|
|
33
35
|
serviceTarget: "CloudApiService",
|
|
34
36
|
},
|