@aws-sdk/client-cloudcontrol 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 +0 -34
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +295 -0
- package/dist-es/models/models_0.js +0 -295
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +291 -0
- package/dist-types/models/models_0.d.ts +0 -291
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +176 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -176
- 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
|
@@ -132,37 +132,6 @@ let AlreadyExistsException$1 = class AlreadyExistsException extends CloudControl
|
|
|
132
132
|
this.Message = opts.Message;
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
|
-
const HandlerErrorCode = {
|
|
136
|
-
ACCESS_DENIED: "AccessDenied",
|
|
137
|
-
ALREADY_EXISTS: "AlreadyExists",
|
|
138
|
-
GENERAL_SERVICE_EXCEPTION: "GeneralServiceException",
|
|
139
|
-
INTERNAL_FAILURE: "InternalFailure",
|
|
140
|
-
INVALID_CREDENTIALS: "InvalidCredentials",
|
|
141
|
-
INVALID_REQUEST: "InvalidRequest",
|
|
142
|
-
NETWORK_FAILURE: "NetworkFailure",
|
|
143
|
-
NOT_FOUND: "NotFound",
|
|
144
|
-
NOT_STABILIZED: "NotStabilized",
|
|
145
|
-
NOT_UPDATABLE: "NotUpdatable",
|
|
146
|
-
RESOURCE_CONFLICT: "ResourceConflict",
|
|
147
|
-
SERVICE_INTERNAL_ERROR: "ServiceInternalError",
|
|
148
|
-
SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
|
|
149
|
-
SERVICE_TIMEOUT: "ServiceTimeout",
|
|
150
|
-
THROTTLING: "Throttling",
|
|
151
|
-
UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation",
|
|
152
|
-
};
|
|
153
|
-
const Operation = {
|
|
154
|
-
CREATE: "CREATE",
|
|
155
|
-
DELETE: "DELETE",
|
|
156
|
-
UPDATE: "UPDATE",
|
|
157
|
-
};
|
|
158
|
-
const OperationStatus = {
|
|
159
|
-
CANCEL_COMPLETE: "CANCEL_COMPLETE",
|
|
160
|
-
CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS",
|
|
161
|
-
FAILED: "FAILED",
|
|
162
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
163
|
-
PENDING: "PENDING",
|
|
164
|
-
SUCCESS: "SUCCESS",
|
|
165
|
-
};
|
|
166
135
|
let ConcurrentModificationException$1 = class ConcurrentModificationException extends CloudControlServiceException$1 {
|
|
167
136
|
name = "ConcurrentModificationException";
|
|
168
137
|
$fault = "server";
|
|
@@ -1137,7 +1106,6 @@ exports.DeleteResourceCommand = DeleteResourceCommand;
|
|
|
1137
1106
|
exports.GeneralServiceException = GeneralServiceException$1;
|
|
1138
1107
|
exports.GetResourceCommand = GetResourceCommand;
|
|
1139
1108
|
exports.GetResourceRequestStatusCommand = GetResourceRequestStatusCommand;
|
|
1140
|
-
exports.HandlerErrorCode = HandlerErrorCode;
|
|
1141
1109
|
exports.HandlerFailureException = HandlerFailureException$1;
|
|
1142
1110
|
exports.HandlerInternalFailureException = HandlerInternalFailureException$1;
|
|
1143
1111
|
exports.InvalidCredentialsException = InvalidCredentialsException$1;
|
|
@@ -1147,8 +1115,6 @@ exports.ListResourcesCommand = ListResourcesCommand;
|
|
|
1147
1115
|
exports.NetworkFailureException = NetworkFailureException$1;
|
|
1148
1116
|
exports.NotStabilizedException = NotStabilizedException$1;
|
|
1149
1117
|
exports.NotUpdatableException = NotUpdatableException$1;
|
|
1150
|
-
exports.Operation = Operation;
|
|
1151
|
-
exports.OperationStatus = OperationStatus;
|
|
1152
1118
|
exports.PrivateTypeException = PrivateTypeException$1;
|
|
1153
1119
|
exports.RequestTokenNotFoundException = RequestTokenNotFoundException$1;
|
|
1154
1120
|
exports.ResourceConflictException = ResourceConflictException$1;
|
package/dist-es/index.js
CHANGED
|
@@ -3,5 +3,5 @@ export * from "./CloudControl";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
5
|
export * from "./waiters";
|
|
6
|
-
export * from "./models";
|
|
6
|
+
export * from "./models/errors";
|
|
7
7
|
export { CloudControlServiceException } from "./models/CloudControlServiceException";
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { CloudControlServiceException as __BaseException } from "./CloudControlServiceException";
|
|
2
|
+
export class AlreadyExistsException extends __BaseException {
|
|
3
|
+
name = "AlreadyExistsException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AlreadyExistsException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConcurrentModificationException extends __BaseException {
|
|
17
|
+
name = "ConcurrentModificationException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConcurrentModificationException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class RequestTokenNotFoundException extends __BaseException {
|
|
31
|
+
name = "RequestTokenNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "RequestTokenNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ClientTokenConflictException extends __BaseException {
|
|
45
|
+
name = "ClientTokenConflictException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ClientTokenConflictException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ConcurrentOperationException extends __BaseException {
|
|
59
|
+
name = "ConcurrentOperationException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ConcurrentOperationException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class GeneralServiceException extends __BaseException {
|
|
73
|
+
name = "GeneralServiceException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "GeneralServiceException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, GeneralServiceException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class HandlerFailureException extends __BaseException {
|
|
87
|
+
name = "HandlerFailureException";
|
|
88
|
+
$fault = "server";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "HandlerFailureException",
|
|
93
|
+
$fault: "server",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, HandlerFailureException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class HandlerInternalFailureException extends __BaseException {
|
|
101
|
+
name = "HandlerInternalFailureException";
|
|
102
|
+
$fault = "server";
|
|
103
|
+
Message;
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "HandlerInternalFailureException",
|
|
107
|
+
$fault: "server",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class InvalidCredentialsException extends __BaseException {
|
|
115
|
+
name = "InvalidCredentialsException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Message;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "InvalidCredentialsException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class InvalidRequestException extends __BaseException {
|
|
129
|
+
name = "InvalidRequestException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
Message;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "InvalidRequestException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
139
|
+
this.Message = opts.Message;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export class NetworkFailureException extends __BaseException {
|
|
143
|
+
name = "NetworkFailureException";
|
|
144
|
+
$fault = "server";
|
|
145
|
+
Message;
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "NetworkFailureException",
|
|
149
|
+
$fault: "server",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, NetworkFailureException.prototype);
|
|
153
|
+
this.Message = opts.Message;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
export class NotStabilizedException extends __BaseException {
|
|
157
|
+
name = "NotStabilizedException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
Message;
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "NotStabilizedException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
Object.setPrototypeOf(this, NotStabilizedException.prototype);
|
|
167
|
+
this.Message = opts.Message;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
export class NotUpdatableException extends __BaseException {
|
|
171
|
+
name = "NotUpdatableException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
Message;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "NotUpdatableException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, NotUpdatableException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
export class PrivateTypeException extends __BaseException {
|
|
185
|
+
name = "PrivateTypeException";
|
|
186
|
+
$fault = "client";
|
|
187
|
+
Message;
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "PrivateTypeException",
|
|
191
|
+
$fault: "client",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
Object.setPrototypeOf(this, PrivateTypeException.prototype);
|
|
195
|
+
this.Message = opts.Message;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
export class ResourceConflictException extends __BaseException {
|
|
199
|
+
name = "ResourceConflictException";
|
|
200
|
+
$fault = "client";
|
|
201
|
+
Message;
|
|
202
|
+
constructor(opts) {
|
|
203
|
+
super({
|
|
204
|
+
name: "ResourceConflictException",
|
|
205
|
+
$fault: "client",
|
|
206
|
+
...opts,
|
|
207
|
+
});
|
|
208
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
209
|
+
this.Message = opts.Message;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
213
|
+
name = "ResourceNotFoundException";
|
|
214
|
+
$fault = "client";
|
|
215
|
+
Message;
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "ResourceNotFoundException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
223
|
+
this.Message = opts.Message;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
export class ServiceInternalErrorException extends __BaseException {
|
|
227
|
+
name = "ServiceInternalErrorException";
|
|
228
|
+
$fault = "server";
|
|
229
|
+
Message;
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "ServiceInternalErrorException",
|
|
233
|
+
$fault: "server",
|
|
234
|
+
...opts,
|
|
235
|
+
});
|
|
236
|
+
Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
|
|
237
|
+
this.Message = opts.Message;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
export class ServiceLimitExceededException extends __BaseException {
|
|
241
|
+
name = "ServiceLimitExceededException";
|
|
242
|
+
$fault = "client";
|
|
243
|
+
Message;
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "ServiceLimitExceededException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
251
|
+
this.Message = opts.Message;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
export class ThrottlingException extends __BaseException {
|
|
255
|
+
name = "ThrottlingException";
|
|
256
|
+
$fault = "client";
|
|
257
|
+
Message;
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "ThrottlingException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts,
|
|
263
|
+
});
|
|
264
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
265
|
+
this.Message = opts.Message;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
export class TypeNotFoundException extends __BaseException {
|
|
269
|
+
name = "TypeNotFoundException";
|
|
270
|
+
$fault = "client";
|
|
271
|
+
Message;
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "TypeNotFoundException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts,
|
|
277
|
+
});
|
|
278
|
+
Object.setPrototypeOf(this, TypeNotFoundException.prototype);
|
|
279
|
+
this.Message = opts.Message;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
export class UnsupportedActionException extends __BaseException {
|
|
283
|
+
name = "UnsupportedActionException";
|
|
284
|
+
$fault = "client";
|
|
285
|
+
Message;
|
|
286
|
+
constructor(opts) {
|
|
287
|
+
super({
|
|
288
|
+
name: "UnsupportedActionException",
|
|
289
|
+
$fault: "client",
|
|
290
|
+
...opts,
|
|
291
|
+
});
|
|
292
|
+
Object.setPrototypeOf(this, UnsupportedActionException.prototype);
|
|
293
|
+
this.Message = opts.Message;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
import { CloudControlServiceException as __BaseException } from "./CloudControlServiceException";
|
|
2
|
-
export class AlreadyExistsException extends __BaseException {
|
|
3
|
-
name = "AlreadyExistsException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AlreadyExistsException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
1
|
export const HandlerErrorCode = {
|
|
17
2
|
ACCESS_DENIED: "AccessDenied",
|
|
18
3
|
ALREADY_EXISTS: "AlreadyExists",
|
|
@@ -44,283 +29,3 @@ export const OperationStatus = {
|
|
|
44
29
|
PENDING: "PENDING",
|
|
45
30
|
SUCCESS: "SUCCESS",
|
|
46
31
|
};
|
|
47
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
48
|
-
name = "ConcurrentModificationException";
|
|
49
|
-
$fault = "server";
|
|
50
|
-
Message;
|
|
51
|
-
constructor(opts) {
|
|
52
|
-
super({
|
|
53
|
-
name: "ConcurrentModificationException",
|
|
54
|
-
$fault: "server",
|
|
55
|
-
...opts,
|
|
56
|
-
});
|
|
57
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
58
|
-
this.Message = opts.Message;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
export class RequestTokenNotFoundException extends __BaseException {
|
|
62
|
-
name = "RequestTokenNotFoundException";
|
|
63
|
-
$fault = "client";
|
|
64
|
-
Message;
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "RequestTokenNotFoundException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
|
|
72
|
-
this.Message = opts.Message;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
export class ClientTokenConflictException extends __BaseException {
|
|
76
|
-
name = "ClientTokenConflictException";
|
|
77
|
-
$fault = "client";
|
|
78
|
-
Message;
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "ClientTokenConflictException",
|
|
82
|
-
$fault: "client",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
|
|
86
|
-
this.Message = opts.Message;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
export class ConcurrentOperationException extends __BaseException {
|
|
90
|
-
name = "ConcurrentOperationException";
|
|
91
|
-
$fault = "client";
|
|
92
|
-
Message;
|
|
93
|
-
constructor(opts) {
|
|
94
|
-
super({
|
|
95
|
-
name: "ConcurrentOperationException",
|
|
96
|
-
$fault: "client",
|
|
97
|
-
...opts,
|
|
98
|
-
});
|
|
99
|
-
Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
|
|
100
|
-
this.Message = opts.Message;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
export class GeneralServiceException extends __BaseException {
|
|
104
|
-
name = "GeneralServiceException";
|
|
105
|
-
$fault = "client";
|
|
106
|
-
Message;
|
|
107
|
-
constructor(opts) {
|
|
108
|
-
super({
|
|
109
|
-
name: "GeneralServiceException",
|
|
110
|
-
$fault: "client",
|
|
111
|
-
...opts,
|
|
112
|
-
});
|
|
113
|
-
Object.setPrototypeOf(this, GeneralServiceException.prototype);
|
|
114
|
-
this.Message = opts.Message;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
export class HandlerFailureException extends __BaseException {
|
|
118
|
-
name = "HandlerFailureException";
|
|
119
|
-
$fault = "server";
|
|
120
|
-
Message;
|
|
121
|
-
constructor(opts) {
|
|
122
|
-
super({
|
|
123
|
-
name: "HandlerFailureException",
|
|
124
|
-
$fault: "server",
|
|
125
|
-
...opts,
|
|
126
|
-
});
|
|
127
|
-
Object.setPrototypeOf(this, HandlerFailureException.prototype);
|
|
128
|
-
this.Message = opts.Message;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
export class HandlerInternalFailureException extends __BaseException {
|
|
132
|
-
name = "HandlerInternalFailureException";
|
|
133
|
-
$fault = "server";
|
|
134
|
-
Message;
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "HandlerInternalFailureException",
|
|
138
|
-
$fault: "server",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
|
|
142
|
-
this.Message = opts.Message;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
export class InvalidCredentialsException extends __BaseException {
|
|
146
|
-
name = "InvalidCredentialsException";
|
|
147
|
-
$fault = "client";
|
|
148
|
-
Message;
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "InvalidCredentialsException",
|
|
152
|
-
$fault: "client",
|
|
153
|
-
...opts,
|
|
154
|
-
});
|
|
155
|
-
Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
|
|
156
|
-
this.Message = opts.Message;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
export class InvalidRequestException extends __BaseException {
|
|
160
|
-
name = "InvalidRequestException";
|
|
161
|
-
$fault = "client";
|
|
162
|
-
Message;
|
|
163
|
-
constructor(opts) {
|
|
164
|
-
super({
|
|
165
|
-
name: "InvalidRequestException",
|
|
166
|
-
$fault: "client",
|
|
167
|
-
...opts,
|
|
168
|
-
});
|
|
169
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
170
|
-
this.Message = opts.Message;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
export class NetworkFailureException extends __BaseException {
|
|
174
|
-
name = "NetworkFailureException";
|
|
175
|
-
$fault = "server";
|
|
176
|
-
Message;
|
|
177
|
-
constructor(opts) {
|
|
178
|
-
super({
|
|
179
|
-
name: "NetworkFailureException",
|
|
180
|
-
$fault: "server",
|
|
181
|
-
...opts,
|
|
182
|
-
});
|
|
183
|
-
Object.setPrototypeOf(this, NetworkFailureException.prototype);
|
|
184
|
-
this.Message = opts.Message;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
export class NotStabilizedException extends __BaseException {
|
|
188
|
-
name = "NotStabilizedException";
|
|
189
|
-
$fault = "client";
|
|
190
|
-
Message;
|
|
191
|
-
constructor(opts) {
|
|
192
|
-
super({
|
|
193
|
-
name: "NotStabilizedException",
|
|
194
|
-
$fault: "client",
|
|
195
|
-
...opts,
|
|
196
|
-
});
|
|
197
|
-
Object.setPrototypeOf(this, NotStabilizedException.prototype);
|
|
198
|
-
this.Message = opts.Message;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
export class NotUpdatableException extends __BaseException {
|
|
202
|
-
name = "NotUpdatableException";
|
|
203
|
-
$fault = "client";
|
|
204
|
-
Message;
|
|
205
|
-
constructor(opts) {
|
|
206
|
-
super({
|
|
207
|
-
name: "NotUpdatableException",
|
|
208
|
-
$fault: "client",
|
|
209
|
-
...opts,
|
|
210
|
-
});
|
|
211
|
-
Object.setPrototypeOf(this, NotUpdatableException.prototype);
|
|
212
|
-
this.Message = opts.Message;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
export class PrivateTypeException extends __BaseException {
|
|
216
|
-
name = "PrivateTypeException";
|
|
217
|
-
$fault = "client";
|
|
218
|
-
Message;
|
|
219
|
-
constructor(opts) {
|
|
220
|
-
super({
|
|
221
|
-
name: "PrivateTypeException",
|
|
222
|
-
$fault: "client",
|
|
223
|
-
...opts,
|
|
224
|
-
});
|
|
225
|
-
Object.setPrototypeOf(this, PrivateTypeException.prototype);
|
|
226
|
-
this.Message = opts.Message;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
export class ResourceConflictException extends __BaseException {
|
|
230
|
-
name = "ResourceConflictException";
|
|
231
|
-
$fault = "client";
|
|
232
|
-
Message;
|
|
233
|
-
constructor(opts) {
|
|
234
|
-
super({
|
|
235
|
-
name: "ResourceConflictException",
|
|
236
|
-
$fault: "client",
|
|
237
|
-
...opts,
|
|
238
|
-
});
|
|
239
|
-
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
240
|
-
this.Message = opts.Message;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
244
|
-
name = "ResourceNotFoundException";
|
|
245
|
-
$fault = "client";
|
|
246
|
-
Message;
|
|
247
|
-
constructor(opts) {
|
|
248
|
-
super({
|
|
249
|
-
name: "ResourceNotFoundException",
|
|
250
|
-
$fault: "client",
|
|
251
|
-
...opts,
|
|
252
|
-
});
|
|
253
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
254
|
-
this.Message = opts.Message;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
export class ServiceInternalErrorException extends __BaseException {
|
|
258
|
-
name = "ServiceInternalErrorException";
|
|
259
|
-
$fault = "server";
|
|
260
|
-
Message;
|
|
261
|
-
constructor(opts) {
|
|
262
|
-
super({
|
|
263
|
-
name: "ServiceInternalErrorException",
|
|
264
|
-
$fault: "server",
|
|
265
|
-
...opts,
|
|
266
|
-
});
|
|
267
|
-
Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
|
|
268
|
-
this.Message = opts.Message;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
export class ServiceLimitExceededException extends __BaseException {
|
|
272
|
-
name = "ServiceLimitExceededException";
|
|
273
|
-
$fault = "client";
|
|
274
|
-
Message;
|
|
275
|
-
constructor(opts) {
|
|
276
|
-
super({
|
|
277
|
-
name: "ServiceLimitExceededException",
|
|
278
|
-
$fault: "client",
|
|
279
|
-
...opts,
|
|
280
|
-
});
|
|
281
|
-
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
282
|
-
this.Message = opts.Message;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
export class ThrottlingException extends __BaseException {
|
|
286
|
-
name = "ThrottlingException";
|
|
287
|
-
$fault = "client";
|
|
288
|
-
Message;
|
|
289
|
-
constructor(opts) {
|
|
290
|
-
super({
|
|
291
|
-
name: "ThrottlingException",
|
|
292
|
-
$fault: "client",
|
|
293
|
-
...opts,
|
|
294
|
-
});
|
|
295
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
296
|
-
this.Message = opts.Message;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
export class TypeNotFoundException extends __BaseException {
|
|
300
|
-
name = "TypeNotFoundException";
|
|
301
|
-
$fault = "client";
|
|
302
|
-
Message;
|
|
303
|
-
constructor(opts) {
|
|
304
|
-
super({
|
|
305
|
-
name: "TypeNotFoundException",
|
|
306
|
-
$fault: "client",
|
|
307
|
-
...opts,
|
|
308
|
-
});
|
|
309
|
-
Object.setPrototypeOf(this, TypeNotFoundException.prototype);
|
|
310
|
-
this.Message = opts.Message;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
export class UnsupportedActionException extends __BaseException {
|
|
314
|
-
name = "UnsupportedActionException";
|
|
315
|
-
$fault = "client";
|
|
316
|
-
Message;
|
|
317
|
-
constructor(opts) {
|
|
318
|
-
super({
|
|
319
|
-
name: "UnsupportedActionException",
|
|
320
|
-
$fault: "client",
|
|
321
|
-
...opts,
|
|
322
|
-
});
|
|
323
|
-
Object.setPrototypeOf(this, UnsupportedActionException.prototype);
|
|
324
|
-
this.Message = opts.Message;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
@@ -89,7 +89,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudcontrol";
|
|
|
89
89
|
const n0 = "com.amazonaws.cloudcontrol";
|
|
90
90
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
91
91
|
import { CloudControlServiceException as __CloudControlServiceException } from "../models/CloudControlServiceException";
|
|
92
|
-
import { AlreadyExistsException as __AlreadyExistsException, ClientTokenConflictException as __ClientTokenConflictException, ConcurrentModificationException as __ConcurrentModificationException, ConcurrentOperationException as __ConcurrentOperationException, GeneralServiceException as __GeneralServiceException, HandlerFailureException as __HandlerFailureException, HandlerInternalFailureException as __HandlerInternalFailureException, InvalidCredentialsException as __InvalidCredentialsException, InvalidRequestException as __InvalidRequestException, NetworkFailureException as __NetworkFailureException, NotStabilizedException as __NotStabilizedException, NotUpdatableException as __NotUpdatableException, PrivateTypeException as __PrivateTypeException, RequestTokenNotFoundException as __RequestTokenNotFoundException, ResourceConflictException as __ResourceConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceInternalErrorException as __ServiceInternalErrorException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, TypeNotFoundException as __TypeNotFoundException, UnsupportedActionException as __UnsupportedActionException, } from "../models/
|
|
92
|
+
import { AlreadyExistsException as __AlreadyExistsException, ClientTokenConflictException as __ClientTokenConflictException, ConcurrentModificationException as __ConcurrentModificationException, ConcurrentOperationException as __ConcurrentOperationException, GeneralServiceException as __GeneralServiceException, HandlerFailureException as __HandlerFailureException, HandlerInternalFailureException as __HandlerInternalFailureException, InvalidCredentialsException as __InvalidCredentialsException, InvalidRequestException as __InvalidRequestException, NetworkFailureException as __NetworkFailureException, NotStabilizedException as __NotStabilizedException, NotUpdatableException as __NotUpdatableException, PrivateTypeException as __PrivateTypeException, RequestTokenNotFoundException as __RequestTokenNotFoundException, ResourceConflictException as __ResourceConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceInternalErrorException as __ServiceInternalErrorException, ServiceLimitExceededException as __ServiceLimitExceededException, ThrottlingException as __ThrottlingException, TypeNotFoundException as __TypeNotFoundException, UnsupportedActionException as __UnsupportedActionException, } from "../models/errors";
|
|
93
93
|
export var PatchDocument = [0, n0, _PD, 8, 0];
|
|
94
94
|
export var Properties = [0, n0, _P, 8, 0];
|
|
95
95
|
export var AlreadyExistsException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export type { CloudControlExtensionConfiguration } from "./extensionConfiguratio
|
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
14
|
export * from "./waiters";
|
|
15
|
-
export * from "./models";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
16
17
|
export { CloudControlServiceException } from "./models/CloudControlServiceException";
|