@aws-sdk/client-networkflowmonitor 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 +88 -86
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +87 -0
- package/dist-es/models/errors.js +89 -0
- package/dist-es/models/models_0.js +1 -175
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/CreateMonitorCommand.d.ts +2 -2
- package/dist-types/commands/GetMonitorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMonitorCommand.d.ts +3 -3
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +167 -0
- package/dist-types/models/errors.d.ts +90 -0
- package/dist-types/models/models_0.d.ts +5 -260
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +101 -0
- package/dist-types/ts3.4/models/errors.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -153
- 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
|
@@ -139,26 +139,6 @@ let ConflictException$1 = class ConflictException extends NetworkFlowMonitorServ
|
|
|
139
139
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
const MonitorLocalResourceType = {
|
|
143
|
-
AWS_AZ: "AWS::AvailabilityZone",
|
|
144
|
-
AWS_REGION: "AWS::Region",
|
|
145
|
-
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
146
|
-
AWS_VPC: "AWS::EC2::VPC",
|
|
147
|
-
};
|
|
148
|
-
const MonitorRemoteResourceType = {
|
|
149
|
-
AWS_AZ: "AWS::AvailabilityZone",
|
|
150
|
-
AWS_REGION: "AWS::Region",
|
|
151
|
-
AWS_SERVICE: "AWS::AWSService",
|
|
152
|
-
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
153
|
-
AWS_VPC: "AWS::EC2::VPC",
|
|
154
|
-
};
|
|
155
|
-
const MonitorStatus = {
|
|
156
|
-
ACTIVE: "ACTIVE",
|
|
157
|
-
DELETING: "DELETING",
|
|
158
|
-
ERROR: "ERROR",
|
|
159
|
-
INACTIVE: "INACTIVE",
|
|
160
|
-
PENDING: "PENDING",
|
|
161
|
-
};
|
|
162
142
|
let InternalServerException$1 = class InternalServerException extends NetworkFlowMonitorServiceException$1 {
|
|
163
143
|
name = "InternalServerException";
|
|
164
144
|
$fault = "server";
|
|
@@ -211,16 +191,6 @@ let ValidationException$1 = class ValidationException extends NetworkFlowMonitor
|
|
|
211
191
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
212
192
|
}
|
|
213
193
|
};
|
|
214
|
-
const TargetType = {
|
|
215
|
-
ACCOUNT: "ACCOUNT",
|
|
216
|
-
};
|
|
217
|
-
const ScopeStatus = {
|
|
218
|
-
DEACTIVATED: "DEACTIVATED",
|
|
219
|
-
DEACTIVATING: "DEACTIVATING",
|
|
220
|
-
FAILED: "FAILED",
|
|
221
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
222
|
-
SUCCEEDED: "SUCCEEDED",
|
|
223
|
-
};
|
|
224
194
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends NetworkFlowMonitorServiceException$1 {
|
|
225
195
|
name = "ResourceNotFoundException";
|
|
226
196
|
$fault = "client";
|
|
@@ -233,62 +203,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Networ
|
|
|
233
203
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
234
204
|
}
|
|
235
205
|
};
|
|
236
|
-
const DestinationCategory = {
|
|
237
|
-
AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
|
|
238
|
-
AMAZON_S3: "AMAZON_S3",
|
|
239
|
-
INTER_AZ: "INTER_AZ",
|
|
240
|
-
INTER_REGION: "INTER_REGION",
|
|
241
|
-
INTER_VPC: "INTER_VPC",
|
|
242
|
-
INTRA_AZ: "INTRA_AZ",
|
|
243
|
-
UNCLASSIFIED: "UNCLASSIFIED",
|
|
244
|
-
};
|
|
245
|
-
const MetricUnit = {
|
|
246
|
-
BITS: "Bits",
|
|
247
|
-
BITS_PER_SECOND: "Bits/Second",
|
|
248
|
-
BYTES: "Bytes",
|
|
249
|
-
BYTES_PER_SECOND: "Bytes/Second",
|
|
250
|
-
COUNT: "Count",
|
|
251
|
-
COUNT_PER_SECOND: "Count/Second",
|
|
252
|
-
GIGABITS: "Gigabits",
|
|
253
|
-
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
254
|
-
GIGABYTES: "Gigabytes",
|
|
255
|
-
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
256
|
-
KILOBITS: "Kilobits",
|
|
257
|
-
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
258
|
-
KILOBYTES: "Kilobytes",
|
|
259
|
-
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
260
|
-
MEGABITS: "Megabits",
|
|
261
|
-
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
262
|
-
MEGABYTES: "Megabytes",
|
|
263
|
-
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
264
|
-
MICROSECONDS: "Microseconds",
|
|
265
|
-
MILLISECONDS: "Milliseconds",
|
|
266
|
-
NONE: "None",
|
|
267
|
-
PERCENT: "Percent",
|
|
268
|
-
SECONDS: "Seconds",
|
|
269
|
-
TERABITS: "Terabits",
|
|
270
|
-
TERABITS_PER_SECOND: "Terabits/Second",
|
|
271
|
-
TERABYTES: "Terabytes",
|
|
272
|
-
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
273
|
-
};
|
|
274
|
-
const QueryStatus = {
|
|
275
|
-
CANCELED: "CANCELED",
|
|
276
|
-
FAILED: "FAILED",
|
|
277
|
-
QUEUED: "QUEUED",
|
|
278
|
-
RUNNING: "RUNNING",
|
|
279
|
-
SUCCEEDED: "SUCCEEDED",
|
|
280
|
-
};
|
|
281
|
-
const MonitorMetric = {
|
|
282
|
-
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
283
|
-
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
284
|
-
ROUND_TRIP_TIME: "ROUND_TRIP_TIME",
|
|
285
|
-
TIMEOUTS: "TIMEOUTS",
|
|
286
|
-
};
|
|
287
|
-
const WorkloadInsightsMetric = {
|
|
288
|
-
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
289
|
-
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
290
|
-
TIMEOUTS: "TIMEOUTS",
|
|
291
|
-
};
|
|
292
206
|
|
|
293
207
|
const _ADE = "AccessDeniedException";
|
|
294
208
|
const _CE = "ConflictException";
|
|
@@ -1642,6 +1556,94 @@ const paginateListMonitors = core.createPaginator(NetworkFlowMonitorClient, List
|
|
|
1642
1556
|
|
|
1643
1557
|
const paginateListScopes = core.createPaginator(NetworkFlowMonitorClient, ListScopesCommand, "nextToken", "nextToken", "maxResults");
|
|
1644
1558
|
|
|
1559
|
+
const MonitorLocalResourceType = {
|
|
1560
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
1561
|
+
AWS_REGION: "AWS::Region",
|
|
1562
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
1563
|
+
AWS_VPC: "AWS::EC2::VPC",
|
|
1564
|
+
EKS_CLUSTER: "AWS::EKS::Cluster",
|
|
1565
|
+
};
|
|
1566
|
+
const MonitorRemoteResourceType = {
|
|
1567
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
1568
|
+
AWS_REGION: "AWS::Region",
|
|
1569
|
+
AWS_SERVICE: "AWS::AWSService",
|
|
1570
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
1571
|
+
AWS_VPC: "AWS::EC2::VPC",
|
|
1572
|
+
};
|
|
1573
|
+
const MonitorStatus = {
|
|
1574
|
+
ACTIVE: "ACTIVE",
|
|
1575
|
+
DELETING: "DELETING",
|
|
1576
|
+
ERROR: "ERROR",
|
|
1577
|
+
INACTIVE: "INACTIVE",
|
|
1578
|
+
PENDING: "PENDING",
|
|
1579
|
+
};
|
|
1580
|
+
const TargetType = {
|
|
1581
|
+
ACCOUNT: "ACCOUNT",
|
|
1582
|
+
};
|
|
1583
|
+
const ScopeStatus = {
|
|
1584
|
+
DEACTIVATED: "DEACTIVATED",
|
|
1585
|
+
DEACTIVATING: "DEACTIVATING",
|
|
1586
|
+
FAILED: "FAILED",
|
|
1587
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1588
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1589
|
+
};
|
|
1590
|
+
const DestinationCategory = {
|
|
1591
|
+
AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
|
|
1592
|
+
AMAZON_S3: "AMAZON_S3",
|
|
1593
|
+
INTER_AZ: "INTER_AZ",
|
|
1594
|
+
INTER_REGION: "INTER_REGION",
|
|
1595
|
+
INTER_VPC: "INTER_VPC",
|
|
1596
|
+
INTRA_AZ: "INTRA_AZ",
|
|
1597
|
+
UNCLASSIFIED: "UNCLASSIFIED",
|
|
1598
|
+
};
|
|
1599
|
+
const MetricUnit = {
|
|
1600
|
+
BITS: "Bits",
|
|
1601
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
1602
|
+
BYTES: "Bytes",
|
|
1603
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
1604
|
+
COUNT: "Count",
|
|
1605
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
1606
|
+
GIGABITS: "Gigabits",
|
|
1607
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
1608
|
+
GIGABYTES: "Gigabytes",
|
|
1609
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
1610
|
+
KILOBITS: "Kilobits",
|
|
1611
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
1612
|
+
KILOBYTES: "Kilobytes",
|
|
1613
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
1614
|
+
MEGABITS: "Megabits",
|
|
1615
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
1616
|
+
MEGABYTES: "Megabytes",
|
|
1617
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
1618
|
+
MICROSECONDS: "Microseconds",
|
|
1619
|
+
MILLISECONDS: "Milliseconds",
|
|
1620
|
+
NONE: "None",
|
|
1621
|
+
PERCENT: "Percent",
|
|
1622
|
+
SECONDS: "Seconds",
|
|
1623
|
+
TERABITS: "Terabits",
|
|
1624
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
1625
|
+
TERABYTES: "Terabytes",
|
|
1626
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
1627
|
+
};
|
|
1628
|
+
const QueryStatus = {
|
|
1629
|
+
CANCELED: "CANCELED",
|
|
1630
|
+
FAILED: "FAILED",
|
|
1631
|
+
QUEUED: "QUEUED",
|
|
1632
|
+
RUNNING: "RUNNING",
|
|
1633
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1634
|
+
};
|
|
1635
|
+
const MonitorMetric = {
|
|
1636
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
1637
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
1638
|
+
ROUND_TRIP_TIME: "ROUND_TRIP_TIME",
|
|
1639
|
+
TIMEOUTS: "TIMEOUTS",
|
|
1640
|
+
};
|
|
1641
|
+
const WorkloadInsightsMetric = {
|
|
1642
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
1643
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
1644
|
+
TIMEOUTS: "TIMEOUTS",
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1645
1647
|
Object.defineProperty(exports, "$Command", {
|
|
1646
1648
|
enumerable: true,
|
|
1647
1649
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./NetworkFlowMonitorClient";
|
|
|
2
2
|
export * from "./NetworkFlowMonitor";
|
|
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 { NetworkFlowMonitorServiceException } from "./models/NetworkFlowMonitorServiceException";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export const MonitorLocalResourceType = {
|
|
2
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
3
|
+
AWS_REGION: "AWS::Region",
|
|
4
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
5
|
+
AWS_VPC: "AWS::EC2::VPC",
|
|
6
|
+
EKS_CLUSTER: "AWS::EKS::Cluster",
|
|
7
|
+
};
|
|
8
|
+
export const MonitorRemoteResourceType = {
|
|
9
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
10
|
+
AWS_REGION: "AWS::Region",
|
|
11
|
+
AWS_SERVICE: "AWS::AWSService",
|
|
12
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
13
|
+
AWS_VPC: "AWS::EC2::VPC",
|
|
14
|
+
};
|
|
15
|
+
export const MonitorStatus = {
|
|
16
|
+
ACTIVE: "ACTIVE",
|
|
17
|
+
DELETING: "DELETING",
|
|
18
|
+
ERROR: "ERROR",
|
|
19
|
+
INACTIVE: "INACTIVE",
|
|
20
|
+
PENDING: "PENDING",
|
|
21
|
+
};
|
|
22
|
+
export const TargetType = {
|
|
23
|
+
ACCOUNT: "ACCOUNT",
|
|
24
|
+
};
|
|
25
|
+
export const ScopeStatus = {
|
|
26
|
+
DEACTIVATED: "DEACTIVATED",
|
|
27
|
+
DEACTIVATING: "DEACTIVATING",
|
|
28
|
+
FAILED: "FAILED",
|
|
29
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
30
|
+
SUCCEEDED: "SUCCEEDED",
|
|
31
|
+
};
|
|
32
|
+
export const DestinationCategory = {
|
|
33
|
+
AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
|
|
34
|
+
AMAZON_S3: "AMAZON_S3",
|
|
35
|
+
INTER_AZ: "INTER_AZ",
|
|
36
|
+
INTER_REGION: "INTER_REGION",
|
|
37
|
+
INTER_VPC: "INTER_VPC",
|
|
38
|
+
INTRA_AZ: "INTRA_AZ",
|
|
39
|
+
UNCLASSIFIED: "UNCLASSIFIED",
|
|
40
|
+
};
|
|
41
|
+
export const MetricUnit = {
|
|
42
|
+
BITS: "Bits",
|
|
43
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
44
|
+
BYTES: "Bytes",
|
|
45
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
46
|
+
COUNT: "Count",
|
|
47
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
48
|
+
GIGABITS: "Gigabits",
|
|
49
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
50
|
+
GIGABYTES: "Gigabytes",
|
|
51
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
52
|
+
KILOBITS: "Kilobits",
|
|
53
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
54
|
+
KILOBYTES: "Kilobytes",
|
|
55
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
56
|
+
MEGABITS: "Megabits",
|
|
57
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
58
|
+
MEGABYTES: "Megabytes",
|
|
59
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
60
|
+
MICROSECONDS: "Microseconds",
|
|
61
|
+
MILLISECONDS: "Milliseconds",
|
|
62
|
+
NONE: "None",
|
|
63
|
+
PERCENT: "Percent",
|
|
64
|
+
SECONDS: "Seconds",
|
|
65
|
+
TERABITS: "Terabits",
|
|
66
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
67
|
+
TERABYTES: "Terabytes",
|
|
68
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
69
|
+
};
|
|
70
|
+
export const QueryStatus = {
|
|
71
|
+
CANCELED: "CANCELED",
|
|
72
|
+
FAILED: "FAILED",
|
|
73
|
+
QUEUED: "QUEUED",
|
|
74
|
+
RUNNING: "RUNNING",
|
|
75
|
+
SUCCEEDED: "SUCCEEDED",
|
|
76
|
+
};
|
|
77
|
+
export const MonitorMetric = {
|
|
78
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
79
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
80
|
+
ROUND_TRIP_TIME: "ROUND_TRIP_TIME",
|
|
81
|
+
TIMEOUTS: "TIMEOUTS",
|
|
82
|
+
};
|
|
83
|
+
export const WorkloadInsightsMetric = {
|
|
84
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
85
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
86
|
+
TIMEOUTS: "TIMEOUTS",
|
|
87
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { NetworkFlowMonitorServiceException as __BaseException } from "./NetworkFlowMonitorServiceException";
|
|
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 ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
$retryable = {};
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "InternalServerException",
|
|
33
|
+
$fault: "server",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
40
|
+
name = "ServiceQuotaExceededException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "ServiceQuotaExceededException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export class ThrottlingException extends __BaseException {
|
|
52
|
+
name = "ThrottlingException";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
$retryable = {
|
|
55
|
+
throttling: true,
|
|
56
|
+
};
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ThrottlingException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ValidationException extends __BaseException {
|
|
67
|
+
name = "ValidationException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ValidationException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
79
|
+
name = "ResourceNotFoundException";
|
|
80
|
+
$fault = "client";
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "ResourceNotFoundException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -1,175 +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 class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ConflictException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export const MonitorLocalResourceType = {
|
|
27
|
-
AWS_AZ: "AWS::AvailabilityZone",
|
|
28
|
-
AWS_REGION: "AWS::Region",
|
|
29
|
-
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
30
|
-
AWS_VPC: "AWS::EC2::VPC",
|
|
31
|
-
};
|
|
32
|
-
export const MonitorRemoteResourceType = {
|
|
33
|
-
AWS_AZ: "AWS::AvailabilityZone",
|
|
34
|
-
AWS_REGION: "AWS::Region",
|
|
35
|
-
AWS_SERVICE: "AWS::AWSService",
|
|
36
|
-
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
37
|
-
AWS_VPC: "AWS::EC2::VPC",
|
|
38
|
-
};
|
|
39
|
-
export const MonitorStatus = {
|
|
40
|
-
ACTIVE: "ACTIVE",
|
|
41
|
-
DELETING: "DELETING",
|
|
42
|
-
ERROR: "ERROR",
|
|
43
|
-
INACTIVE: "INACTIVE",
|
|
44
|
-
PENDING: "PENDING",
|
|
45
|
-
};
|
|
46
|
-
export class InternalServerException extends __BaseException {
|
|
47
|
-
name = "InternalServerException";
|
|
48
|
-
$fault = "server";
|
|
49
|
-
$retryable = {};
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "InternalServerException",
|
|
53
|
-
$fault: "server",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
-
name = "ServiceQuotaExceededException";
|
|
61
|
-
$fault = "client";
|
|
62
|
-
constructor(opts) {
|
|
63
|
-
super({
|
|
64
|
-
name: "ServiceQuotaExceededException",
|
|
65
|
-
$fault: "client",
|
|
66
|
-
...opts,
|
|
67
|
-
});
|
|
68
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class ThrottlingException extends __BaseException {
|
|
72
|
-
name = "ThrottlingException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
$retryable = {
|
|
75
|
-
throttling: true,
|
|
76
|
-
};
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "ThrottlingException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class ValidationException extends __BaseException {
|
|
87
|
-
name = "ValidationException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ValidationException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export const TargetType = {
|
|
99
|
-
ACCOUNT: "ACCOUNT",
|
|
100
|
-
};
|
|
101
|
-
export const ScopeStatus = {
|
|
102
|
-
DEACTIVATED: "DEACTIVATED",
|
|
103
|
-
DEACTIVATING: "DEACTIVATING",
|
|
104
|
-
FAILED: "FAILED",
|
|
105
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
106
|
-
SUCCEEDED: "SUCCEEDED",
|
|
107
|
-
};
|
|
108
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
109
|
-
name = "ResourceNotFoundException";
|
|
110
|
-
$fault = "client";
|
|
111
|
-
constructor(opts) {
|
|
112
|
-
super({
|
|
113
|
-
name: "ResourceNotFoundException",
|
|
114
|
-
$fault: "client",
|
|
115
|
-
...opts,
|
|
116
|
-
});
|
|
117
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export const DestinationCategory = {
|
|
121
|
-
AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
|
|
122
|
-
AMAZON_S3: "AMAZON_S3",
|
|
123
|
-
INTER_AZ: "INTER_AZ",
|
|
124
|
-
INTER_REGION: "INTER_REGION",
|
|
125
|
-
INTER_VPC: "INTER_VPC",
|
|
126
|
-
INTRA_AZ: "INTRA_AZ",
|
|
127
|
-
UNCLASSIFIED: "UNCLASSIFIED",
|
|
128
|
-
};
|
|
129
|
-
export const MetricUnit = {
|
|
130
|
-
BITS: "Bits",
|
|
131
|
-
BITS_PER_SECOND: "Bits/Second",
|
|
132
|
-
BYTES: "Bytes",
|
|
133
|
-
BYTES_PER_SECOND: "Bytes/Second",
|
|
134
|
-
COUNT: "Count",
|
|
135
|
-
COUNT_PER_SECOND: "Count/Second",
|
|
136
|
-
GIGABITS: "Gigabits",
|
|
137
|
-
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
138
|
-
GIGABYTES: "Gigabytes",
|
|
139
|
-
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
140
|
-
KILOBITS: "Kilobits",
|
|
141
|
-
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
142
|
-
KILOBYTES: "Kilobytes",
|
|
143
|
-
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
144
|
-
MEGABITS: "Megabits",
|
|
145
|
-
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
146
|
-
MEGABYTES: "Megabytes",
|
|
147
|
-
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
148
|
-
MICROSECONDS: "Microseconds",
|
|
149
|
-
MILLISECONDS: "Milliseconds",
|
|
150
|
-
NONE: "None",
|
|
151
|
-
PERCENT: "Percent",
|
|
152
|
-
SECONDS: "Seconds",
|
|
153
|
-
TERABITS: "Terabits",
|
|
154
|
-
TERABITS_PER_SECOND: "Terabits/Second",
|
|
155
|
-
TERABYTES: "Terabytes",
|
|
156
|
-
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
157
|
-
};
|
|
158
|
-
export const QueryStatus = {
|
|
159
|
-
CANCELED: "CANCELED",
|
|
160
|
-
FAILED: "FAILED",
|
|
161
|
-
QUEUED: "QUEUED",
|
|
162
|
-
RUNNING: "RUNNING",
|
|
163
|
-
SUCCEEDED: "SUCCEEDED",
|
|
164
|
-
};
|
|
165
|
-
export const MonitorMetric = {
|
|
166
|
-
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
167
|
-
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
168
|
-
ROUND_TRIP_TIME: "ROUND_TRIP_TIME",
|
|
169
|
-
TIMEOUTS: "TIMEOUTS",
|
|
170
|
-
};
|
|
171
|
-
export const WorkloadInsightsMetric = {
|
|
172
|
-
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
173
|
-
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
174
|
-
TIMEOUTS: "TIMEOUTS",
|
|
175
|
-
};
|
|
1
|
+
export {};
|
|
@@ -190,7 +190,7 @@ const _v = "value";
|
|
|
190
190
|
const _va = "values";
|
|
191
191
|
const n0 = "com.amazonaws.networkflowmonitor";
|
|
192
192
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
193
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
193
|
+
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";
|
|
194
194
|
import { NetworkFlowMonitorServiceException as __NetworkFlowMonitorServiceException } from "../models/NetworkFlowMonitorServiceException";
|
|
195
195
|
export var AccessDeniedException = [
|
|
196
196
|
-3,
|
|
@@ -40,7 +40,7 @@ declare const CreateMonitorCommand_base: {
|
|
|
40
40
|
* monitorName: "STRING_VALUE", // required
|
|
41
41
|
* localResources: [ // MonitorLocalResources // required
|
|
42
42
|
* { // MonitorLocalResource
|
|
43
|
-
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region", // required
|
|
43
|
+
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region" || "AWS::EKS::Cluster", // required
|
|
44
44
|
* identifier: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
@@ -64,7 +64,7 @@ declare const CreateMonitorCommand_base: {
|
|
|
64
64
|
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
65
65
|
* // localResources: [ // MonitorLocalResources // required
|
|
66
66
|
* // { // MonitorLocalResource
|
|
67
|
-
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region", // required
|
|
67
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region" || "AWS::EKS::Cluster", // required
|
|
68
68
|
* // identifier: "STRING_VALUE", // required
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
@@ -47,7 +47,7 @@ declare const GetMonitorCommand_base: {
|
|
|
47
47
|
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
48
48
|
* // localResources: [ // MonitorLocalResources // required
|
|
49
49
|
* // { // MonitorLocalResource
|
|
50
|
-
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region", // required
|
|
50
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region" || "AWS::EKS::Cluster", // required
|
|
51
51
|
* // identifier: "STRING_VALUE", // required
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
@@ -40,13 +40,13 @@ declare const UpdateMonitorCommand_base: {
|
|
|
40
40
|
* monitorName: "STRING_VALUE", // required
|
|
41
41
|
* localResourcesToAdd: [ // MonitorLocalResources
|
|
42
42
|
* { // MonitorLocalResource
|
|
43
|
-
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region", // required
|
|
43
|
+
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region" || "AWS::EKS::Cluster", // required
|
|
44
44
|
* identifier: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
47
|
* localResourcesToRemove: [
|
|
48
48
|
* {
|
|
49
|
-
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region", // required
|
|
49
|
+
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region" || "AWS::EKS::Cluster", // required
|
|
50
50
|
* identifier: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
@@ -72,7 +72,7 @@ declare const UpdateMonitorCommand_base: {
|
|
|
72
72
|
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
73
73
|
* // localResources: [ // MonitorLocalResources // required
|
|
74
74
|
* // { // MonitorLocalResource
|
|
75
|
-
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region", // required
|
|
75
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::Region" || "AWS::EKS::Cluster", // required
|
|
76
76
|
* // identifier: "STRING_VALUE", // required
|
|
77
77
|
* // },
|
|
78
78
|
* // ],
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { NetworkFlowMonitorExtensionConfiguration } 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 { NetworkFlowMonitorServiceException } from "./models/NetworkFlowMonitorServiceException";
|