@aws-sdk/client-synthetics 3.934.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 +62 -61
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +61 -0
- package/dist-es/models/errors.js +155 -0
- package/dist-es/models/models_0.js +1 -216
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +149 -0
- package/dist-types/models/errors.d.ts +145 -0
- package/dist-types/models/models_0.d.ts +1 -294
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +79 -0
- package/dist-types/ts3.4/models/errors.d.ts +86 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -165
- 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
|
@@ -131,10 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends SyntheticsServ
|
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const EncryptionMode = {
|
|
135
|
-
SSE_KMS: "SSE_KMS",
|
|
136
|
-
SSE_S3: "SSE_S3",
|
|
137
|
-
};
|
|
138
134
|
let ConflictException$1 = class ConflictException extends SyntheticsServiceException$1 {
|
|
139
135
|
name = "ConflictException";
|
|
140
136
|
$fault = "client";
|
|
@@ -219,59 +215,6 @@ let BadRequestException$1 = class BadRequestException extends SyntheticsServiceE
|
|
|
219
215
|
this.Message = opts.Message;
|
|
220
216
|
}
|
|
221
217
|
};
|
|
222
|
-
const BrowserType = {
|
|
223
|
-
CHROME: "CHROME",
|
|
224
|
-
FIREFOX: "FIREFOX",
|
|
225
|
-
};
|
|
226
|
-
const DependencyType = {
|
|
227
|
-
LambdaLayer: "LambdaLayer",
|
|
228
|
-
};
|
|
229
|
-
const ProvisionedResourceCleanupSetting = {
|
|
230
|
-
AUTOMATIC: "AUTOMATIC",
|
|
231
|
-
OFF: "OFF",
|
|
232
|
-
};
|
|
233
|
-
const CanaryState = {
|
|
234
|
-
CREATING: "CREATING",
|
|
235
|
-
DELETING: "DELETING",
|
|
236
|
-
ERROR: "ERROR",
|
|
237
|
-
READY: "READY",
|
|
238
|
-
RUNNING: "RUNNING",
|
|
239
|
-
STARTING: "STARTING",
|
|
240
|
-
STOPPED: "STOPPED",
|
|
241
|
-
STOPPING: "STOPPING",
|
|
242
|
-
UPDATING: "UPDATING",
|
|
243
|
-
};
|
|
244
|
-
const CanaryStateReasonCode = {
|
|
245
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
246
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
247
|
-
CREATE_PENDING: "CREATE_PENDING",
|
|
248
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
249
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
250
|
-
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
251
|
-
ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
|
|
252
|
-
ROLLBACK_FAILED: "ROLLBACK_FAILED",
|
|
253
|
-
SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS",
|
|
254
|
-
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
255
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
256
|
-
UPDATE_PENDING: "UPDATE_PENDING",
|
|
257
|
-
};
|
|
258
|
-
const CanaryRunState = {
|
|
259
|
-
FAILED: "FAILED",
|
|
260
|
-
PASSED: "PASSED",
|
|
261
|
-
RUNNING: "RUNNING",
|
|
262
|
-
};
|
|
263
|
-
const CanaryRunStateReasonCode = {
|
|
264
|
-
CANARY_FAILURE: "CANARY_FAILURE",
|
|
265
|
-
EXECUTION_FAILURE: "EXECUTION_FAILURE",
|
|
266
|
-
};
|
|
267
|
-
const CanaryRunTestResult = {
|
|
268
|
-
FAILED: "FAILED",
|
|
269
|
-
PASSED: "PASSED",
|
|
270
|
-
UNKNOWN: "UNKNOWN",
|
|
271
|
-
};
|
|
272
|
-
const ResourceToTag = {
|
|
273
|
-
LAMBDA_FUNCTION: "lambda-function",
|
|
274
|
-
};
|
|
275
218
|
let RequestEntityTooLargeException$1 = class RequestEntityTooLargeException extends SyntheticsServiceException$1 {
|
|
276
219
|
name = "RequestEntityTooLargeException";
|
|
277
220
|
$fault = "client";
|
|
@@ -286,10 +229,6 @@ let RequestEntityTooLargeException$1 = class RequestEntityTooLargeException exte
|
|
|
286
229
|
this.Message = opts.Message;
|
|
287
230
|
}
|
|
288
231
|
};
|
|
289
|
-
const RunType = {
|
|
290
|
-
CANARY_RUN: "CANARY_RUN",
|
|
291
|
-
DRY_RUN: "DRY_RUN",
|
|
292
|
-
};
|
|
293
232
|
let InternalFailureException$1 = class InternalFailureException extends SyntheticsServiceException$1 {
|
|
294
233
|
name = "InternalFailureException";
|
|
295
234
|
$fault = "server";
|
|
@@ -1552,6 +1491,68 @@ const paginateListGroupResources = core.createPaginator(SyntheticsClient, ListGr
|
|
|
1552
1491
|
|
|
1553
1492
|
const paginateListGroups = core.createPaginator(SyntheticsClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1554
1493
|
|
|
1494
|
+
const EncryptionMode = {
|
|
1495
|
+
SSE_KMS: "SSE_KMS",
|
|
1496
|
+
SSE_S3: "SSE_S3",
|
|
1497
|
+
};
|
|
1498
|
+
const BrowserType = {
|
|
1499
|
+
CHROME: "CHROME",
|
|
1500
|
+
FIREFOX: "FIREFOX",
|
|
1501
|
+
};
|
|
1502
|
+
const DependencyType = {
|
|
1503
|
+
LambdaLayer: "LambdaLayer",
|
|
1504
|
+
};
|
|
1505
|
+
const ProvisionedResourceCleanupSetting = {
|
|
1506
|
+
AUTOMATIC: "AUTOMATIC",
|
|
1507
|
+
OFF: "OFF",
|
|
1508
|
+
};
|
|
1509
|
+
const CanaryState = {
|
|
1510
|
+
CREATING: "CREATING",
|
|
1511
|
+
DELETING: "DELETING",
|
|
1512
|
+
ERROR: "ERROR",
|
|
1513
|
+
READY: "READY",
|
|
1514
|
+
RUNNING: "RUNNING",
|
|
1515
|
+
STARTING: "STARTING",
|
|
1516
|
+
STOPPED: "STOPPED",
|
|
1517
|
+
STOPPING: "STOPPING",
|
|
1518
|
+
UPDATING: "UPDATING",
|
|
1519
|
+
};
|
|
1520
|
+
const CanaryStateReasonCode = {
|
|
1521
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
1522
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
1523
|
+
CREATE_PENDING: "CREATE_PENDING",
|
|
1524
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
1525
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
1526
|
+
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
1527
|
+
ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
|
|
1528
|
+
ROLLBACK_FAILED: "ROLLBACK_FAILED",
|
|
1529
|
+
SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS",
|
|
1530
|
+
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
1531
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
1532
|
+
UPDATE_PENDING: "UPDATE_PENDING",
|
|
1533
|
+
};
|
|
1534
|
+
const CanaryRunState = {
|
|
1535
|
+
FAILED: "FAILED",
|
|
1536
|
+
PASSED: "PASSED",
|
|
1537
|
+
RUNNING: "RUNNING",
|
|
1538
|
+
};
|
|
1539
|
+
const CanaryRunStateReasonCode = {
|
|
1540
|
+
CANARY_FAILURE: "CANARY_FAILURE",
|
|
1541
|
+
EXECUTION_FAILURE: "EXECUTION_FAILURE",
|
|
1542
|
+
};
|
|
1543
|
+
const CanaryRunTestResult = {
|
|
1544
|
+
FAILED: "FAILED",
|
|
1545
|
+
PASSED: "PASSED",
|
|
1546
|
+
UNKNOWN: "UNKNOWN",
|
|
1547
|
+
};
|
|
1548
|
+
const ResourceToTag = {
|
|
1549
|
+
LAMBDA_FUNCTION: "lambda-function",
|
|
1550
|
+
};
|
|
1551
|
+
const RunType = {
|
|
1552
|
+
CANARY_RUN: "CANARY_RUN",
|
|
1553
|
+
DRY_RUN: "DRY_RUN",
|
|
1554
|
+
};
|
|
1555
|
+
|
|
1555
1556
|
Object.defineProperty(exports, "$Command", {
|
|
1556
1557
|
enumerable: true,
|
|
1557
1558
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./SyntheticsClient";
|
|
|
2
2
|
export * from "./Synthetics";
|
|
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 { SyntheticsServiceException } from "./models/SyntheticsServiceException";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export const EncryptionMode = {
|
|
2
|
+
SSE_KMS: "SSE_KMS",
|
|
3
|
+
SSE_S3: "SSE_S3",
|
|
4
|
+
};
|
|
5
|
+
export const BrowserType = {
|
|
6
|
+
CHROME: "CHROME",
|
|
7
|
+
FIREFOX: "FIREFOX",
|
|
8
|
+
};
|
|
9
|
+
export const DependencyType = {
|
|
10
|
+
LambdaLayer: "LambdaLayer",
|
|
11
|
+
};
|
|
12
|
+
export const ProvisionedResourceCleanupSetting = {
|
|
13
|
+
AUTOMATIC: "AUTOMATIC",
|
|
14
|
+
OFF: "OFF",
|
|
15
|
+
};
|
|
16
|
+
export const CanaryState = {
|
|
17
|
+
CREATING: "CREATING",
|
|
18
|
+
DELETING: "DELETING",
|
|
19
|
+
ERROR: "ERROR",
|
|
20
|
+
READY: "READY",
|
|
21
|
+
RUNNING: "RUNNING",
|
|
22
|
+
STARTING: "STARTING",
|
|
23
|
+
STOPPED: "STOPPED",
|
|
24
|
+
STOPPING: "STOPPING",
|
|
25
|
+
UPDATING: "UPDATING",
|
|
26
|
+
};
|
|
27
|
+
export const CanaryStateReasonCode = {
|
|
28
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
29
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
30
|
+
CREATE_PENDING: "CREATE_PENDING",
|
|
31
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
32
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
33
|
+
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
34
|
+
ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
|
|
35
|
+
ROLLBACK_FAILED: "ROLLBACK_FAILED",
|
|
36
|
+
SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS",
|
|
37
|
+
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
38
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
39
|
+
UPDATE_PENDING: "UPDATE_PENDING",
|
|
40
|
+
};
|
|
41
|
+
export const CanaryRunState = {
|
|
42
|
+
FAILED: "FAILED",
|
|
43
|
+
PASSED: "PASSED",
|
|
44
|
+
RUNNING: "RUNNING",
|
|
45
|
+
};
|
|
46
|
+
export const CanaryRunStateReasonCode = {
|
|
47
|
+
CANARY_FAILURE: "CANARY_FAILURE",
|
|
48
|
+
EXECUTION_FAILURE: "EXECUTION_FAILURE",
|
|
49
|
+
};
|
|
50
|
+
export const CanaryRunTestResult = {
|
|
51
|
+
FAILED: "FAILED",
|
|
52
|
+
PASSED: "PASSED",
|
|
53
|
+
UNKNOWN: "UNKNOWN",
|
|
54
|
+
};
|
|
55
|
+
export const ResourceToTag = {
|
|
56
|
+
LAMBDA_FUNCTION: "lambda-function",
|
|
57
|
+
};
|
|
58
|
+
export const RunType = {
|
|
59
|
+
CANARY_RUN: "CANARY_RUN",
|
|
60
|
+
DRY_RUN: "DRY_RUN",
|
|
61
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
45
|
+
name = "ResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ResourceNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
59
|
+
name = "ServiceQuotaExceededException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ServiceQuotaExceededException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class ValidationException extends __BaseException {
|
|
73
|
+
name = "ValidationException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ValidationException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class BadRequestException extends __BaseException {
|
|
87
|
+
name = "BadRequestException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "BadRequestException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class RequestEntityTooLargeException extends __BaseException {
|
|
101
|
+
name = "RequestEntityTooLargeException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
Message;
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "RequestEntityTooLargeException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class InternalFailureException extends __BaseException {
|
|
115
|
+
name = "InternalFailureException";
|
|
116
|
+
$fault = "server";
|
|
117
|
+
Message;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "InternalFailureException",
|
|
121
|
+
$fault: "server",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class NotFoundException extends __BaseException {
|
|
129
|
+
name = "NotFoundException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
Message;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "NotFoundException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
139
|
+
this.Message = opts.Message;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export class TooManyRequestsException extends __BaseException {
|
|
143
|
+
name = "TooManyRequestsException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
Message;
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "TooManyRequestsException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
153
|
+
this.Message = opts.Message;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -1,216 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const EncryptionMode = {
|
|
17
|
-
SSE_KMS: "SSE_KMS",
|
|
18
|
-
SSE_S3: "SSE_S3",
|
|
19
|
-
};
|
|
20
|
-
export class ConflictException extends __BaseException {
|
|
21
|
-
name = "ConflictException";
|
|
22
|
-
$fault = "client";
|
|
23
|
-
Message;
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "ConflictException",
|
|
27
|
-
$fault: "client",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
-
this.Message = opts.Message;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export class InternalServerException extends __BaseException {
|
|
35
|
-
name = "InternalServerException";
|
|
36
|
-
$fault = "server";
|
|
37
|
-
Message;
|
|
38
|
-
constructor(opts) {
|
|
39
|
-
super({
|
|
40
|
-
name: "InternalServerException",
|
|
41
|
-
$fault: "server",
|
|
42
|
-
...opts,
|
|
43
|
-
});
|
|
44
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
45
|
-
this.Message = opts.Message;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
49
|
-
name = "ResourceNotFoundException";
|
|
50
|
-
$fault = "client";
|
|
51
|
-
Message;
|
|
52
|
-
constructor(opts) {
|
|
53
|
-
super({
|
|
54
|
-
name: "ResourceNotFoundException",
|
|
55
|
-
$fault: "client",
|
|
56
|
-
...opts,
|
|
57
|
-
});
|
|
58
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
59
|
-
this.Message = opts.Message;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
-
name = "ServiceQuotaExceededException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
Message;
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "ServiceQuotaExceededException",
|
|
69
|
-
$fault: "client",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
73
|
-
this.Message = opts.Message;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
export class ValidationException extends __BaseException {
|
|
77
|
-
name = "ValidationException";
|
|
78
|
-
$fault = "client";
|
|
79
|
-
Message;
|
|
80
|
-
constructor(opts) {
|
|
81
|
-
super({
|
|
82
|
-
name: "ValidationException",
|
|
83
|
-
$fault: "client",
|
|
84
|
-
...opts,
|
|
85
|
-
});
|
|
86
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
87
|
-
this.Message = opts.Message;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
export class BadRequestException extends __BaseException {
|
|
91
|
-
name = "BadRequestException";
|
|
92
|
-
$fault = "client";
|
|
93
|
-
Message;
|
|
94
|
-
constructor(opts) {
|
|
95
|
-
super({
|
|
96
|
-
name: "BadRequestException",
|
|
97
|
-
$fault: "client",
|
|
98
|
-
...opts,
|
|
99
|
-
});
|
|
100
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
101
|
-
this.Message = opts.Message;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
export const BrowserType = {
|
|
105
|
-
CHROME: "CHROME",
|
|
106
|
-
FIREFOX: "FIREFOX",
|
|
107
|
-
};
|
|
108
|
-
export const DependencyType = {
|
|
109
|
-
LambdaLayer: "LambdaLayer",
|
|
110
|
-
};
|
|
111
|
-
export const ProvisionedResourceCleanupSetting = {
|
|
112
|
-
AUTOMATIC: "AUTOMATIC",
|
|
113
|
-
OFF: "OFF",
|
|
114
|
-
};
|
|
115
|
-
export const CanaryState = {
|
|
116
|
-
CREATING: "CREATING",
|
|
117
|
-
DELETING: "DELETING",
|
|
118
|
-
ERROR: "ERROR",
|
|
119
|
-
READY: "READY",
|
|
120
|
-
RUNNING: "RUNNING",
|
|
121
|
-
STARTING: "STARTING",
|
|
122
|
-
STOPPED: "STOPPED",
|
|
123
|
-
STOPPING: "STOPPING",
|
|
124
|
-
UPDATING: "UPDATING",
|
|
125
|
-
};
|
|
126
|
-
export const CanaryStateReasonCode = {
|
|
127
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
128
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
129
|
-
CREATE_PENDING: "CREATE_PENDING",
|
|
130
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
131
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
132
|
-
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
133
|
-
ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
|
|
134
|
-
ROLLBACK_FAILED: "ROLLBACK_FAILED",
|
|
135
|
-
SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS",
|
|
136
|
-
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
137
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
138
|
-
UPDATE_PENDING: "UPDATE_PENDING",
|
|
139
|
-
};
|
|
140
|
-
export const CanaryRunState = {
|
|
141
|
-
FAILED: "FAILED",
|
|
142
|
-
PASSED: "PASSED",
|
|
143
|
-
RUNNING: "RUNNING",
|
|
144
|
-
};
|
|
145
|
-
export const CanaryRunStateReasonCode = {
|
|
146
|
-
CANARY_FAILURE: "CANARY_FAILURE",
|
|
147
|
-
EXECUTION_FAILURE: "EXECUTION_FAILURE",
|
|
148
|
-
};
|
|
149
|
-
export const CanaryRunTestResult = {
|
|
150
|
-
FAILED: "FAILED",
|
|
151
|
-
PASSED: "PASSED",
|
|
152
|
-
UNKNOWN: "UNKNOWN",
|
|
153
|
-
};
|
|
154
|
-
export const ResourceToTag = {
|
|
155
|
-
LAMBDA_FUNCTION: "lambda-function",
|
|
156
|
-
};
|
|
157
|
-
export class RequestEntityTooLargeException extends __BaseException {
|
|
158
|
-
name = "RequestEntityTooLargeException";
|
|
159
|
-
$fault = "client";
|
|
160
|
-
Message;
|
|
161
|
-
constructor(opts) {
|
|
162
|
-
super({
|
|
163
|
-
name: "RequestEntityTooLargeException",
|
|
164
|
-
$fault: "client",
|
|
165
|
-
...opts,
|
|
166
|
-
});
|
|
167
|
-
Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
|
|
168
|
-
this.Message = opts.Message;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
export const RunType = {
|
|
172
|
-
CANARY_RUN: "CANARY_RUN",
|
|
173
|
-
DRY_RUN: "DRY_RUN",
|
|
174
|
-
};
|
|
175
|
-
export class InternalFailureException extends __BaseException {
|
|
176
|
-
name = "InternalFailureException";
|
|
177
|
-
$fault = "server";
|
|
178
|
-
Message;
|
|
179
|
-
constructor(opts) {
|
|
180
|
-
super({
|
|
181
|
-
name: "InternalFailureException",
|
|
182
|
-
$fault: "server",
|
|
183
|
-
...opts,
|
|
184
|
-
});
|
|
185
|
-
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
186
|
-
this.Message = opts.Message;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
export class NotFoundException extends __BaseException {
|
|
190
|
-
name = "NotFoundException";
|
|
191
|
-
$fault = "client";
|
|
192
|
-
Message;
|
|
193
|
-
constructor(opts) {
|
|
194
|
-
super({
|
|
195
|
-
name: "NotFoundException",
|
|
196
|
-
$fault: "client",
|
|
197
|
-
...opts,
|
|
198
|
-
});
|
|
199
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
200
|
-
this.Message = opts.Message;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
export class TooManyRequestsException extends __BaseException {
|
|
204
|
-
name = "TooManyRequestsException";
|
|
205
|
-
$fault = "client";
|
|
206
|
-
Message;
|
|
207
|
-
constructor(opts) {
|
|
208
|
-
super({
|
|
209
|
-
name: "TooManyRequestsException",
|
|
210
|
-
$fault: "client",
|
|
211
|
-
...opts,
|
|
212
|
-
});
|
|
213
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
214
|
-
this.Message = opts.Message;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
1
|
+
export {};
|
|
@@ -213,7 +213,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.synthetics";
|
|
|
213
213
|
const _tK = "tagKeys";
|
|
214
214
|
const n0 = "com.amazonaws.synthetics";
|
|
215
215
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
216
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalFailureException as __InternalFailureException, InternalServerException as __InternalServerException, NotFoundException as __NotFoundException, RequestEntityTooLargeException as __RequestEntityTooLargeException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/
|
|
216
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalFailureException as __InternalFailureException, InternalServerException as __InternalServerException, NotFoundException as __NotFoundException, RequestEntityTooLargeException as __RequestEntityTooLargeException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/errors";
|
|
217
217
|
import { SyntheticsServiceException as __SyntheticsServiceException } from "../models/SyntheticsServiceException";
|
|
218
218
|
export var AccessDeniedException = [
|
|
219
219
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -24,5 +24,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
24
24
|
export type { SyntheticsExtensionConfiguration } from "./extensionConfiguration";
|
|
25
25
|
export * from "./commands";
|
|
26
26
|
export * from "./pagination";
|
|
27
|
-
export * from "./models";
|
|
27
|
+
export * from "./models/enums";
|
|
28
|
+
export * from "./models/errors";
|
|
29
|
+
export type * from "./models/models_0";
|
|
28
30
|
export { SyntheticsServiceException } from "./models/SyntheticsServiceException";
|