@aws-sdk/client-controltower 3.933.0 → 3.935.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 +61 -60
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +60 -0
- package/dist-es/models/errors.js +95 -0
- package/dist-es/models/models_0.js +1 -155
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +156 -0
- package/dist-types/models/errors.d.ts +105 -0
- package/dist-types/models/models_0.d.ts +1 -261
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +83 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -139
- package/package.json +12 -12
- 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
|
@@ -129,17 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ControlTowerSe
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const BaselineOperationType = {
|
|
133
|
-
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
134
|
-
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
135
|
-
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
136
|
-
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
137
|
-
};
|
|
138
|
-
const BaselineOperationStatus = {
|
|
139
|
-
FAILED: "FAILED",
|
|
140
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
141
|
-
SUCCEEDED: "SUCCEEDED",
|
|
142
|
-
};
|
|
143
132
|
let InternalServerException$1 = class InternalServerException extends ControlTowerServiceException$1 {
|
|
144
133
|
name = "InternalServerException";
|
|
145
134
|
$fault = "server";
|
|
@@ -198,17 +187,6 @@ let ValidationException$1 = class ValidationException extends ControlTowerServic
|
|
|
198
187
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
199
188
|
}
|
|
200
189
|
};
|
|
201
|
-
const ControlOperationType = {
|
|
202
|
-
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
203
|
-
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
204
|
-
RESET_ENABLED_CONTROL: "RESET_ENABLED_CONTROL",
|
|
205
|
-
UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL",
|
|
206
|
-
};
|
|
207
|
-
const ControlOperationStatus = {
|
|
208
|
-
FAILED: "FAILED",
|
|
209
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
210
|
-
SUCCEEDED: "SUCCEEDED",
|
|
211
|
-
};
|
|
212
190
|
let ConflictException$1 = class ConflictException extends ControlTowerServiceException$1 {
|
|
213
191
|
name = "ConflictException";
|
|
214
192
|
$fault = "client";
|
|
@@ -233,44 +211,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
233
211
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
234
212
|
}
|
|
235
213
|
};
|
|
236
|
-
const EnabledBaselineDriftStatus = {
|
|
237
|
-
DRIFTED: "DRIFTED",
|
|
238
|
-
IN_SYNC: "IN_SYNC",
|
|
239
|
-
};
|
|
240
|
-
const EnablementStatus = {
|
|
241
|
-
FAILED: "FAILED",
|
|
242
|
-
SUCCEEDED: "SUCCEEDED",
|
|
243
|
-
UNDER_CHANGE: "UNDER_CHANGE",
|
|
244
|
-
};
|
|
245
|
-
const DriftStatus = {
|
|
246
|
-
DRIFTED: "DRIFTED",
|
|
247
|
-
IN_SYNC: "IN_SYNC",
|
|
248
|
-
NOT_CHECKING: "NOT_CHECKING",
|
|
249
|
-
UNKNOWN: "UNKNOWN",
|
|
250
|
-
};
|
|
251
|
-
const LandingZoneOperationType = {
|
|
252
|
-
CREATE: "CREATE",
|
|
253
|
-
DELETE: "DELETE",
|
|
254
|
-
RESET: "RESET",
|
|
255
|
-
UPDATE: "UPDATE",
|
|
256
|
-
};
|
|
257
|
-
const LandingZoneOperationStatus = {
|
|
258
|
-
FAILED: "FAILED",
|
|
259
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
260
|
-
SUCCEEDED: "SUCCEEDED",
|
|
261
|
-
};
|
|
262
|
-
const RemediationType = {
|
|
263
|
-
INHERITANCE_DRIFT: "INHERITANCE_DRIFT",
|
|
264
|
-
};
|
|
265
|
-
const LandingZoneDriftStatus = {
|
|
266
|
-
DRIFTED: "DRIFTED",
|
|
267
|
-
IN_SYNC: "IN_SYNC",
|
|
268
|
-
};
|
|
269
|
-
const LandingZoneStatus = {
|
|
270
|
-
ACTIVE: "ACTIVE",
|
|
271
|
-
FAILED: "FAILED",
|
|
272
|
-
PROCESSING: "PROCESSING",
|
|
273
|
-
};
|
|
274
214
|
|
|
275
215
|
const _ADE = "AccessDeniedException";
|
|
276
216
|
const _B = "Baselines";
|
|
@@ -1590,6 +1530,67 @@ const paginateListLandingZoneOperations = core.createPaginator(ControlTowerClien
|
|
|
1590
1530
|
|
|
1591
1531
|
const paginateListLandingZones = core.createPaginator(ControlTowerClient, ListLandingZonesCommand, "nextToken", "nextToken", "maxResults");
|
|
1592
1532
|
|
|
1533
|
+
const BaselineOperationType = {
|
|
1534
|
+
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
1535
|
+
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
1536
|
+
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
1537
|
+
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
1538
|
+
};
|
|
1539
|
+
const BaselineOperationStatus = {
|
|
1540
|
+
FAILED: "FAILED",
|
|
1541
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1542
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1543
|
+
};
|
|
1544
|
+
const ControlOperationType = {
|
|
1545
|
+
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
1546
|
+
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
1547
|
+
RESET_ENABLED_CONTROL: "RESET_ENABLED_CONTROL",
|
|
1548
|
+
UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL",
|
|
1549
|
+
};
|
|
1550
|
+
const ControlOperationStatus = {
|
|
1551
|
+
FAILED: "FAILED",
|
|
1552
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1553
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1554
|
+
};
|
|
1555
|
+
const EnabledBaselineDriftStatus = {
|
|
1556
|
+
DRIFTED: "DRIFTED",
|
|
1557
|
+
IN_SYNC: "IN_SYNC",
|
|
1558
|
+
};
|
|
1559
|
+
const EnablementStatus = {
|
|
1560
|
+
FAILED: "FAILED",
|
|
1561
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1562
|
+
UNDER_CHANGE: "UNDER_CHANGE",
|
|
1563
|
+
};
|
|
1564
|
+
const DriftStatus = {
|
|
1565
|
+
DRIFTED: "DRIFTED",
|
|
1566
|
+
IN_SYNC: "IN_SYNC",
|
|
1567
|
+
NOT_CHECKING: "NOT_CHECKING",
|
|
1568
|
+
UNKNOWN: "UNKNOWN",
|
|
1569
|
+
};
|
|
1570
|
+
const LandingZoneOperationType = {
|
|
1571
|
+
CREATE: "CREATE",
|
|
1572
|
+
DELETE: "DELETE",
|
|
1573
|
+
RESET: "RESET",
|
|
1574
|
+
UPDATE: "UPDATE",
|
|
1575
|
+
};
|
|
1576
|
+
const LandingZoneOperationStatus = {
|
|
1577
|
+
FAILED: "FAILED",
|
|
1578
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1579
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1580
|
+
};
|
|
1581
|
+
const RemediationType = {
|
|
1582
|
+
INHERITANCE_DRIFT: "INHERITANCE_DRIFT",
|
|
1583
|
+
};
|
|
1584
|
+
const LandingZoneDriftStatus = {
|
|
1585
|
+
DRIFTED: "DRIFTED",
|
|
1586
|
+
IN_SYNC: "IN_SYNC",
|
|
1587
|
+
};
|
|
1588
|
+
const LandingZoneStatus = {
|
|
1589
|
+
ACTIVE: "ACTIVE",
|
|
1590
|
+
FAILED: "FAILED",
|
|
1591
|
+
PROCESSING: "PROCESSING",
|
|
1592
|
+
};
|
|
1593
|
+
|
|
1593
1594
|
Object.defineProperty(exports, "$Command", {
|
|
1594
1595
|
enumerable: true,
|
|
1595
1596
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ControlTowerClient";
|
|
|
2
2
|
export * from "./ControlTower";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ControlTowerServiceException } from "./models/ControlTowerServiceException";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export const BaselineOperationType = {
|
|
2
|
+
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
3
|
+
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
4
|
+
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
5
|
+
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
6
|
+
};
|
|
7
|
+
export const BaselineOperationStatus = {
|
|
8
|
+
FAILED: "FAILED",
|
|
9
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
10
|
+
SUCCEEDED: "SUCCEEDED",
|
|
11
|
+
};
|
|
12
|
+
export const ControlOperationType = {
|
|
13
|
+
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
14
|
+
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
15
|
+
RESET_ENABLED_CONTROL: "RESET_ENABLED_CONTROL",
|
|
16
|
+
UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL",
|
|
17
|
+
};
|
|
18
|
+
export const ControlOperationStatus = {
|
|
19
|
+
FAILED: "FAILED",
|
|
20
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
21
|
+
SUCCEEDED: "SUCCEEDED",
|
|
22
|
+
};
|
|
23
|
+
export const EnabledBaselineDriftStatus = {
|
|
24
|
+
DRIFTED: "DRIFTED",
|
|
25
|
+
IN_SYNC: "IN_SYNC",
|
|
26
|
+
};
|
|
27
|
+
export const EnablementStatus = {
|
|
28
|
+
FAILED: "FAILED",
|
|
29
|
+
SUCCEEDED: "SUCCEEDED",
|
|
30
|
+
UNDER_CHANGE: "UNDER_CHANGE",
|
|
31
|
+
};
|
|
32
|
+
export const DriftStatus = {
|
|
33
|
+
DRIFTED: "DRIFTED",
|
|
34
|
+
IN_SYNC: "IN_SYNC",
|
|
35
|
+
NOT_CHECKING: "NOT_CHECKING",
|
|
36
|
+
UNKNOWN: "UNKNOWN",
|
|
37
|
+
};
|
|
38
|
+
export const LandingZoneOperationType = {
|
|
39
|
+
CREATE: "CREATE",
|
|
40
|
+
DELETE: "DELETE",
|
|
41
|
+
RESET: "RESET",
|
|
42
|
+
UPDATE: "UPDATE",
|
|
43
|
+
};
|
|
44
|
+
export const LandingZoneOperationStatus = {
|
|
45
|
+
FAILED: "FAILED",
|
|
46
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
47
|
+
SUCCEEDED: "SUCCEEDED",
|
|
48
|
+
};
|
|
49
|
+
export const RemediationType = {
|
|
50
|
+
INHERITANCE_DRIFT: "INHERITANCE_DRIFT",
|
|
51
|
+
};
|
|
52
|
+
export const LandingZoneDriftStatus = {
|
|
53
|
+
DRIFTED: "DRIFTED",
|
|
54
|
+
IN_SYNC: "IN_SYNC",
|
|
55
|
+
};
|
|
56
|
+
export const LandingZoneStatus = {
|
|
57
|
+
ACTIVE: "ACTIVE",
|
|
58
|
+
FAILED: "FAILED",
|
|
59
|
+
PROCESSING: "PROCESSING",
|
|
60
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ControlTowerServiceException as __BaseException } from "./ControlTowerServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InternalServerException extends __BaseException {
|
|
15
|
+
name = "InternalServerException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
$retryable = {};
|
|
18
|
+
constructor(opts) {
|
|
19
|
+
super({
|
|
20
|
+
name: "InternalServerException",
|
|
21
|
+
$fault: "server",
|
|
22
|
+
...opts,
|
|
23
|
+
});
|
|
24
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
name = "ResourceNotFoundException";
|
|
29
|
+
$fault = "client";
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "ResourceNotFoundException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export class ThrottlingException extends __BaseException {
|
|
40
|
+
name = "ThrottlingException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
$retryable = {
|
|
43
|
+
throttling: true,
|
|
44
|
+
};
|
|
45
|
+
serviceCode;
|
|
46
|
+
quotaCode;
|
|
47
|
+
retryAfterSeconds;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ThrottlingException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
55
|
+
this.serviceCode = opts.serviceCode;
|
|
56
|
+
this.quotaCode = opts.quotaCode;
|
|
57
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export class ValidationException extends __BaseException {
|
|
61
|
+
name = "ValidationException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "ValidationException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ConflictException extends __BaseException {
|
|
73
|
+
name = "ConflictException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ConflictException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
85
|
+
name = "ServiceQuotaExceededException";
|
|
86
|
+
$fault = "client";
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceQuotaExceededException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,155 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export const BaselineOperationType = {
|
|
15
|
-
DISABLE_BASELINE: "DISABLE_BASELINE",
|
|
16
|
-
ENABLE_BASELINE: "ENABLE_BASELINE",
|
|
17
|
-
RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",
|
|
18
|
-
UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",
|
|
19
|
-
};
|
|
20
|
-
export const BaselineOperationStatus = {
|
|
21
|
-
FAILED: "FAILED",
|
|
22
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
23
|
-
SUCCEEDED: "SUCCEEDED",
|
|
24
|
-
};
|
|
25
|
-
export class InternalServerException extends __BaseException {
|
|
26
|
-
name = "InternalServerException";
|
|
27
|
-
$fault = "server";
|
|
28
|
-
$retryable = {};
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "InternalServerException",
|
|
32
|
-
$fault: "server",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
39
|
-
name = "ResourceNotFoundException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "ResourceNotFoundException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class ThrottlingException extends __BaseException {
|
|
51
|
-
name = "ThrottlingException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
$retryable = {
|
|
54
|
-
throttling: true,
|
|
55
|
-
};
|
|
56
|
-
serviceCode;
|
|
57
|
-
quotaCode;
|
|
58
|
-
retryAfterSeconds;
|
|
59
|
-
constructor(opts) {
|
|
60
|
-
super({
|
|
61
|
-
name: "ThrottlingException",
|
|
62
|
-
$fault: "client",
|
|
63
|
-
...opts,
|
|
64
|
-
});
|
|
65
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
66
|
-
this.serviceCode = opts.serviceCode;
|
|
67
|
-
this.quotaCode = opts.quotaCode;
|
|
68
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class ValidationException extends __BaseException {
|
|
72
|
-
name = "ValidationException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ValidationException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
export const ControlOperationType = {
|
|
84
|
-
DISABLE_CONTROL: "DISABLE_CONTROL",
|
|
85
|
-
ENABLE_CONTROL: "ENABLE_CONTROL",
|
|
86
|
-
RESET_ENABLED_CONTROL: "RESET_ENABLED_CONTROL",
|
|
87
|
-
UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL",
|
|
88
|
-
};
|
|
89
|
-
export const ControlOperationStatus = {
|
|
90
|
-
FAILED: "FAILED",
|
|
91
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
92
|
-
SUCCEEDED: "SUCCEEDED",
|
|
93
|
-
};
|
|
94
|
-
export class ConflictException extends __BaseException {
|
|
95
|
-
name = "ConflictException";
|
|
96
|
-
$fault = "client";
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "ConflictException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
107
|
-
name = "ServiceQuotaExceededException";
|
|
108
|
-
$fault = "client";
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "ServiceQuotaExceededException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
export const EnabledBaselineDriftStatus = {
|
|
119
|
-
DRIFTED: "DRIFTED",
|
|
120
|
-
IN_SYNC: "IN_SYNC",
|
|
121
|
-
};
|
|
122
|
-
export const EnablementStatus = {
|
|
123
|
-
FAILED: "FAILED",
|
|
124
|
-
SUCCEEDED: "SUCCEEDED",
|
|
125
|
-
UNDER_CHANGE: "UNDER_CHANGE",
|
|
126
|
-
};
|
|
127
|
-
export const DriftStatus = {
|
|
128
|
-
DRIFTED: "DRIFTED",
|
|
129
|
-
IN_SYNC: "IN_SYNC",
|
|
130
|
-
NOT_CHECKING: "NOT_CHECKING",
|
|
131
|
-
UNKNOWN: "UNKNOWN",
|
|
132
|
-
};
|
|
133
|
-
export const LandingZoneOperationType = {
|
|
134
|
-
CREATE: "CREATE",
|
|
135
|
-
DELETE: "DELETE",
|
|
136
|
-
RESET: "RESET",
|
|
137
|
-
UPDATE: "UPDATE",
|
|
138
|
-
};
|
|
139
|
-
export const LandingZoneOperationStatus = {
|
|
140
|
-
FAILED: "FAILED",
|
|
141
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
142
|
-
SUCCEEDED: "SUCCEEDED",
|
|
143
|
-
};
|
|
144
|
-
export const RemediationType = {
|
|
145
|
-
INHERITANCE_DRIFT: "INHERITANCE_DRIFT",
|
|
146
|
-
};
|
|
147
|
-
export const LandingZoneDriftStatus = {
|
|
148
|
-
DRIFTED: "DRIFTED",
|
|
149
|
-
IN_SYNC: "IN_SYNC",
|
|
150
|
-
};
|
|
151
|
-
export const LandingZoneStatus = {
|
|
152
|
-
ACTIVE: "ACTIVE",
|
|
153
|
-
FAILED: "FAILED",
|
|
154
|
-
PROCESSING: "PROCESSING",
|
|
155
|
-
};
|
|
1
|
+
export {};
|
|
@@ -207,7 +207,7 @@ const _va = "value";
|
|
|
207
207
|
const n0 = "com.amazonaws.controltower";
|
|
208
208
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
209
209
|
import { ControlTowerServiceException as __ControlTowerServiceException } from "../models/ControlTowerServiceException";
|
|
210
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
210
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
211
211
|
export var AccessDeniedException = [
|
|
212
212
|
-3,
|
|
213
213
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ControlTowerExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { ControlTowerServiceException } from "./models/ControlTowerServiceException";
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const BaselineOperationType: {
|
|
6
|
+
readonly DISABLE_BASELINE: "DISABLE_BASELINE";
|
|
7
|
+
readonly ENABLE_BASELINE: "ENABLE_BASELINE";
|
|
8
|
+
readonly RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE";
|
|
9
|
+
readonly UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type BaselineOperationType = (typeof BaselineOperationType)[keyof typeof BaselineOperationType];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const BaselineOperationStatus: {
|
|
20
|
+
readonly FAILED: "FAILED";
|
|
21
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
22
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type BaselineOperationStatus = (typeof BaselineOperationStatus)[keyof typeof BaselineOperationStatus];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const ControlOperationType: {
|
|
33
|
+
readonly DISABLE_CONTROL: "DISABLE_CONTROL";
|
|
34
|
+
readonly ENABLE_CONTROL: "ENABLE_CONTROL";
|
|
35
|
+
readonly RESET_ENABLED_CONTROL: "RESET_ENABLED_CONTROL";
|
|
36
|
+
readonly UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type ControlOperationType = (typeof ControlOperationType)[keyof typeof ControlOperationType];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const ControlOperationStatus: {
|
|
47
|
+
readonly FAILED: "FAILED";
|
|
48
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
49
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type ControlOperationStatus = (typeof ControlOperationStatus)[keyof typeof ControlOperationStatus];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const EnabledBaselineDriftStatus: {
|
|
60
|
+
readonly DRIFTED: "DRIFTED";
|
|
61
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type EnabledBaselineDriftStatus = (typeof EnabledBaselineDriftStatus)[keyof typeof EnabledBaselineDriftStatus];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const EnablementStatus: {
|
|
72
|
+
readonly FAILED: "FAILED";
|
|
73
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
74
|
+
readonly UNDER_CHANGE: "UNDER_CHANGE";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type EnablementStatus = (typeof EnablementStatus)[keyof typeof EnablementStatus];
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @enum
|
|
83
|
+
*/
|
|
84
|
+
export declare const DriftStatus: {
|
|
85
|
+
readonly DRIFTED: "DRIFTED";
|
|
86
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
87
|
+
readonly NOT_CHECKING: "NOT_CHECKING";
|
|
88
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type DriftStatus = (typeof DriftStatus)[keyof typeof DriftStatus];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const LandingZoneOperationType: {
|
|
99
|
+
readonly CREATE: "CREATE";
|
|
100
|
+
readonly DELETE: "DELETE";
|
|
101
|
+
readonly RESET: "RESET";
|
|
102
|
+
readonly UPDATE: "UPDATE";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type LandingZoneOperationType = (typeof LandingZoneOperationType)[keyof typeof LandingZoneOperationType];
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @enum
|
|
111
|
+
*/
|
|
112
|
+
export declare const LandingZoneOperationStatus: {
|
|
113
|
+
readonly FAILED: "FAILED";
|
|
114
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
115
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type LandingZoneOperationStatus = (typeof LandingZoneOperationStatus)[keyof typeof LandingZoneOperationStatus];
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
* @enum
|
|
124
|
+
*/
|
|
125
|
+
export declare const RemediationType: {
|
|
126
|
+
readonly INHERITANCE_DRIFT: "INHERITANCE_DRIFT";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type RemediationType = (typeof RemediationType)[keyof typeof RemediationType];
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* @enum
|
|
135
|
+
*/
|
|
136
|
+
export declare const LandingZoneDriftStatus: {
|
|
137
|
+
readonly DRIFTED: "DRIFTED";
|
|
138
|
+
readonly IN_SYNC: "IN_SYNC";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type LandingZoneDriftStatus = (typeof LandingZoneDriftStatus)[keyof typeof LandingZoneDriftStatus];
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* @enum
|
|
147
|
+
*/
|
|
148
|
+
export declare const LandingZoneStatus: {
|
|
149
|
+
readonly ACTIVE: "ACTIVE";
|
|
150
|
+
readonly FAILED: "FAILED";
|
|
151
|
+
readonly PROCESSING: "PROCESSING";
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export type LandingZoneStatus = (typeof LandingZoneStatus)[keyof typeof LandingZoneStatus];
|