@aws-sdk/client-network-firewall 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 +188 -168
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +171 -0
- package/dist-es/models/errors.js +169 -0
- package/dist-es/models/models_0.js +1 -333
- package/dist-es/schemas/schemas_0.js +16 -5
- package/dist-types/commands/CreateFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +3 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +3 -1
- package/dist-types/commands/UpdateFirewallAnalysisSettingsCommand.d.ts +3 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +403 -0
- package/dist-types/models/errors.d.ts +174 -0
- package/dist-types/models/models_0.d.ts +26 -562
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +223 -0
- package/dist-types/ts3.4/models/errors.d.ts +101 -0
- package/dist-types/ts3.4/models/models_0.d.ts +36 -315
- 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
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { NetworkFirewallServiceException as __BaseException } from "./NetworkFirewallServiceException";
|
|
2
|
+
export class InternalServerError extends __BaseException {
|
|
3
|
+
name = "InternalServerError";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "InternalServerError",
|
|
9
|
+
$fault: "server",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InvalidRequestException extends __BaseException {
|
|
17
|
+
name = "InvalidRequestException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InvalidRequestException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
name = "ResourceNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ResourceNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ThrottlingException extends __BaseException {
|
|
45
|
+
name = "ThrottlingException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ThrottlingException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
55
|
+
this.Message = opts.Message;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export class InsufficientCapacityException extends __BaseException {
|
|
59
|
+
name = "InsufficientCapacityException";
|
|
60
|
+
$fault = "server";
|
|
61
|
+
Message;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InsufficientCapacityException",
|
|
65
|
+
$fault: "server",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
|
|
69
|
+
this.Message = opts.Message;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class InvalidOperationException extends __BaseException {
|
|
73
|
+
name = "InvalidOperationException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "InvalidOperationException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class InvalidTokenException extends __BaseException {
|
|
87
|
+
name = "InvalidTokenException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "InvalidTokenException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class LimitExceededException extends __BaseException {
|
|
101
|
+
name = "LimitExceededException";
|
|
102
|
+
$fault = "client";
|
|
103
|
+
Message;
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "LimitExceededException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class UnsupportedOperationException extends __BaseException {
|
|
115
|
+
name = "UnsupportedOperationException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Message;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "UnsupportedOperationException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class InvalidResourcePolicyException extends __BaseException {
|
|
129
|
+
name = "InvalidResourcePolicyException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
Message;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "InvalidResourcePolicyException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
|
|
139
|
+
this.Message = opts.Message;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export class LogDestinationPermissionException extends __BaseException {
|
|
143
|
+
name = "LogDestinationPermissionException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
Message;
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "LogDestinationPermissionException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, LogDestinationPermissionException.prototype);
|
|
153
|
+
this.Message = opts.Message;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
export class ResourceOwnerCheckException extends __BaseException {
|
|
157
|
+
name = "ResourceOwnerCheckException";
|
|
158
|
+
$fault = "client";
|
|
159
|
+
Message;
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "ResourceOwnerCheckException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
Object.setPrototypeOf(this, ResourceOwnerCheckException.prototype);
|
|
167
|
+
this.Message = opts.Message;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -1,333 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const TransitGatewayAttachmentStatus = {
|
|
3
|
-
CREATING: "CREATING",
|
|
4
|
-
DELETED: "DELETED",
|
|
5
|
-
DELETING: "DELETING",
|
|
6
|
-
ERROR: "ERROR",
|
|
7
|
-
FAILED: "FAILED",
|
|
8
|
-
PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE",
|
|
9
|
-
READY: "READY",
|
|
10
|
-
REJECTED: "REJECTED",
|
|
11
|
-
REJECTING: "REJECTING",
|
|
12
|
-
};
|
|
13
|
-
export class InternalServerError extends __BaseException {
|
|
14
|
-
name = "InternalServerError";
|
|
15
|
-
$fault = "server";
|
|
16
|
-
Message;
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "InternalServerError",
|
|
20
|
-
$fault: "server",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
24
|
-
this.Message = opts.Message;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export class InvalidRequestException extends __BaseException {
|
|
28
|
-
name = "InvalidRequestException";
|
|
29
|
-
$fault = "client";
|
|
30
|
-
Message;
|
|
31
|
-
constructor(opts) {
|
|
32
|
-
super({
|
|
33
|
-
name: "InvalidRequestException",
|
|
34
|
-
$fault: "client",
|
|
35
|
-
...opts,
|
|
36
|
-
});
|
|
37
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
38
|
-
this.Message = opts.Message;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
-
name = "ResourceNotFoundException";
|
|
43
|
-
$fault = "client";
|
|
44
|
-
Message;
|
|
45
|
-
constructor(opts) {
|
|
46
|
-
super({
|
|
47
|
-
name: "ResourceNotFoundException",
|
|
48
|
-
$fault: "client",
|
|
49
|
-
...opts,
|
|
50
|
-
});
|
|
51
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
|
-
this.Message = opts.Message;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
export class ThrottlingException extends __BaseException {
|
|
56
|
-
name = "ThrottlingException";
|
|
57
|
-
$fault = "client";
|
|
58
|
-
Message;
|
|
59
|
-
constructor(opts) {
|
|
60
|
-
super({
|
|
61
|
-
name: "ThrottlingException",
|
|
62
|
-
$fault: "client",
|
|
63
|
-
...opts,
|
|
64
|
-
});
|
|
65
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
66
|
-
this.Message = opts.Message;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export const EnabledAnalysisType = {
|
|
70
|
-
HTTP_HOST: "HTTP_HOST",
|
|
71
|
-
TLS_SNI: "TLS_SNI",
|
|
72
|
-
};
|
|
73
|
-
export const IdentifiedType = {
|
|
74
|
-
STATELESS_RULE_CONTAINS_TCP_FLAGS: "STATELESS_RULE_CONTAINS_TCP_FLAGS",
|
|
75
|
-
STATELESS_RULE_FORWARDING_ASYMMETRICALLY: "STATELESS_RULE_FORWARDING_ASYMMETRICALLY",
|
|
76
|
-
};
|
|
77
|
-
export class InsufficientCapacityException extends __BaseException {
|
|
78
|
-
name = "InsufficientCapacityException";
|
|
79
|
-
$fault = "server";
|
|
80
|
-
Message;
|
|
81
|
-
constructor(opts) {
|
|
82
|
-
super({
|
|
83
|
-
name: "InsufficientCapacityException",
|
|
84
|
-
$fault: "server",
|
|
85
|
-
...opts,
|
|
86
|
-
});
|
|
87
|
-
Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
|
|
88
|
-
this.Message = opts.Message;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export class InvalidOperationException extends __BaseException {
|
|
92
|
-
name = "InvalidOperationException";
|
|
93
|
-
$fault = "client";
|
|
94
|
-
Message;
|
|
95
|
-
constructor(opts) {
|
|
96
|
-
super({
|
|
97
|
-
name: "InvalidOperationException",
|
|
98
|
-
$fault: "client",
|
|
99
|
-
...opts,
|
|
100
|
-
});
|
|
101
|
-
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
102
|
-
this.Message = opts.Message;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
export class InvalidTokenException extends __BaseException {
|
|
106
|
-
name = "InvalidTokenException";
|
|
107
|
-
$fault = "client";
|
|
108
|
-
Message;
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "InvalidTokenException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
116
|
-
this.Message = opts.Message;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
export const IPAddressType = {
|
|
120
|
-
DUALSTACK: "DUALSTACK",
|
|
121
|
-
IPV4: "IPV4",
|
|
122
|
-
IPV6: "IPV6",
|
|
123
|
-
};
|
|
124
|
-
export const AttachmentStatus = {
|
|
125
|
-
CREATING: "CREATING",
|
|
126
|
-
DELETING: "DELETING",
|
|
127
|
-
ERROR: "ERROR",
|
|
128
|
-
FAILED: "FAILED",
|
|
129
|
-
READY: "READY",
|
|
130
|
-
SCALING: "SCALING",
|
|
131
|
-
};
|
|
132
|
-
export const RevocationCheckAction = {
|
|
133
|
-
DROP: "DROP",
|
|
134
|
-
PASS: "PASS",
|
|
135
|
-
REJECT: "REJECT",
|
|
136
|
-
};
|
|
137
|
-
export const ConfigurationSyncState = {
|
|
138
|
-
CAPACITY_CONSTRAINED: "CAPACITY_CONSTRAINED",
|
|
139
|
-
IN_SYNC: "IN_SYNC",
|
|
140
|
-
PENDING: "PENDING",
|
|
141
|
-
};
|
|
142
|
-
export const EncryptionType = {
|
|
143
|
-
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
144
|
-
CUSTOMER_KMS: "CUSTOMER_KMS",
|
|
145
|
-
};
|
|
146
|
-
export const FirewallStatusValue = {
|
|
147
|
-
DELETING: "DELETING",
|
|
148
|
-
PROVISIONING: "PROVISIONING",
|
|
149
|
-
READY: "READY",
|
|
150
|
-
};
|
|
151
|
-
export const PerObjectSyncStatus = {
|
|
152
|
-
CAPACITY_CONSTRAINED: "CAPACITY_CONSTRAINED",
|
|
153
|
-
IN_SYNC: "IN_SYNC",
|
|
154
|
-
PENDING: "PENDING",
|
|
155
|
-
};
|
|
156
|
-
export class LimitExceededException extends __BaseException {
|
|
157
|
-
name = "LimitExceededException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
Message;
|
|
160
|
-
constructor(opts) {
|
|
161
|
-
super({
|
|
162
|
-
name: "LimitExceededException",
|
|
163
|
-
$fault: "client",
|
|
164
|
-
...opts,
|
|
165
|
-
});
|
|
166
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
167
|
-
this.Message = opts.Message;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
export const RuleOrder = {
|
|
171
|
-
DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER",
|
|
172
|
-
STRICT_ORDER: "STRICT_ORDER",
|
|
173
|
-
};
|
|
174
|
-
export const StreamExceptionPolicy = {
|
|
175
|
-
CONTINUE: "CONTINUE",
|
|
176
|
-
DROP: "DROP",
|
|
177
|
-
REJECT: "REJECT",
|
|
178
|
-
};
|
|
179
|
-
export const OverrideAction = {
|
|
180
|
-
DROP_TO_ALERT: "DROP_TO_ALERT",
|
|
181
|
-
};
|
|
182
|
-
export const ResourceStatus = {
|
|
183
|
-
ACTIVE: "ACTIVE",
|
|
184
|
-
DELETING: "DELETING",
|
|
185
|
-
ERROR: "ERROR",
|
|
186
|
-
};
|
|
187
|
-
export const GeneratedRulesType = {
|
|
188
|
-
ALERTLIST: "ALERTLIST",
|
|
189
|
-
ALLOWLIST: "ALLOWLIST",
|
|
190
|
-
DENYLIST: "DENYLIST",
|
|
191
|
-
REJECTLIST: "REJECTLIST",
|
|
192
|
-
};
|
|
193
|
-
export const TargetType = {
|
|
194
|
-
HTTP_HOST: "HTTP_HOST",
|
|
195
|
-
TLS_SNI: "TLS_SNI",
|
|
196
|
-
};
|
|
197
|
-
export const StatefulAction = {
|
|
198
|
-
ALERT: "ALERT",
|
|
199
|
-
DROP: "DROP",
|
|
200
|
-
PASS: "PASS",
|
|
201
|
-
REJECT: "REJECT",
|
|
202
|
-
};
|
|
203
|
-
export const StatefulRuleDirection = {
|
|
204
|
-
ANY: "ANY",
|
|
205
|
-
FORWARD: "FORWARD",
|
|
206
|
-
};
|
|
207
|
-
export const StatefulRuleProtocol = {
|
|
208
|
-
ANY: "IP",
|
|
209
|
-
DCERPC: "DCERPC",
|
|
210
|
-
DHCP: "DHCP",
|
|
211
|
-
DNS: "DNS",
|
|
212
|
-
FTP: "FTP",
|
|
213
|
-
HTTP: "HTTP",
|
|
214
|
-
HTTP2: "HTTP2",
|
|
215
|
-
ICMP: "ICMP",
|
|
216
|
-
IKEV2: "IKEV2",
|
|
217
|
-
IMAP: "IMAP",
|
|
218
|
-
KRB5: "KRB5",
|
|
219
|
-
MSN: "MSN",
|
|
220
|
-
NTP: "NTP",
|
|
221
|
-
QUIC: "QUIC",
|
|
222
|
-
SMB: "SMB",
|
|
223
|
-
SMTP: "SMTP",
|
|
224
|
-
SSH: "SSH",
|
|
225
|
-
TCP: "TCP",
|
|
226
|
-
TFTP: "TFTP",
|
|
227
|
-
TLS: "TLS",
|
|
228
|
-
UDP: "UDP",
|
|
229
|
-
};
|
|
230
|
-
export const TCPFlag = {
|
|
231
|
-
ACK: "ACK",
|
|
232
|
-
CWR: "CWR",
|
|
233
|
-
ECE: "ECE",
|
|
234
|
-
FIN: "FIN",
|
|
235
|
-
PSH: "PSH",
|
|
236
|
-
RST: "RST",
|
|
237
|
-
SYN: "SYN",
|
|
238
|
-
URG: "URG",
|
|
239
|
-
};
|
|
240
|
-
export const SummaryRuleOption = {
|
|
241
|
-
METADATA: "METADATA",
|
|
242
|
-
MSG: "MSG",
|
|
243
|
-
SID: "SID",
|
|
244
|
-
};
|
|
245
|
-
export const RuleGroupType = {
|
|
246
|
-
STATEFUL: "STATEFUL",
|
|
247
|
-
STATELESS: "STATELESS",
|
|
248
|
-
};
|
|
249
|
-
export class UnsupportedOperationException extends __BaseException {
|
|
250
|
-
name = "UnsupportedOperationException";
|
|
251
|
-
$fault = "client";
|
|
252
|
-
Message;
|
|
253
|
-
constructor(opts) {
|
|
254
|
-
super({
|
|
255
|
-
name: "UnsupportedOperationException",
|
|
256
|
-
$fault: "client",
|
|
257
|
-
...opts,
|
|
258
|
-
});
|
|
259
|
-
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
260
|
-
this.Message = opts.Message;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
export class InvalidResourcePolicyException extends __BaseException {
|
|
264
|
-
name = "InvalidResourcePolicyException";
|
|
265
|
-
$fault = "client";
|
|
266
|
-
Message;
|
|
267
|
-
constructor(opts) {
|
|
268
|
-
super({
|
|
269
|
-
name: "InvalidResourcePolicyException",
|
|
270
|
-
$fault: "client",
|
|
271
|
-
...opts,
|
|
272
|
-
});
|
|
273
|
-
Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
|
|
274
|
-
this.Message = opts.Message;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
export const FlowOperationStatus = {
|
|
278
|
-
COMPLETED: "COMPLETED",
|
|
279
|
-
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
280
|
-
FAILED: "FAILED",
|
|
281
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
282
|
-
};
|
|
283
|
-
export const FlowOperationType = {
|
|
284
|
-
FLOW_CAPTURE: "FLOW_CAPTURE",
|
|
285
|
-
FLOW_FLUSH: "FLOW_FLUSH",
|
|
286
|
-
};
|
|
287
|
-
export const LogDestinationType = {
|
|
288
|
-
CLOUDWATCH_LOGS: "CloudWatchLogs",
|
|
289
|
-
KINESIS_DATA_FIREHOSE: "KinesisDataFirehose",
|
|
290
|
-
S3: "S3",
|
|
291
|
-
};
|
|
292
|
-
export const LogType = {
|
|
293
|
-
ALERT: "ALERT",
|
|
294
|
-
FLOW: "FLOW",
|
|
295
|
-
TLS: "TLS",
|
|
296
|
-
};
|
|
297
|
-
export const ResourceManagedType = {
|
|
298
|
-
ACTIVE_THREAT_DEFENSE: "ACTIVE_THREAT_DEFENSE",
|
|
299
|
-
AWS_MANAGED_DOMAIN_LISTS: "AWS_MANAGED_DOMAIN_LISTS",
|
|
300
|
-
AWS_MANAGED_THREAT_SIGNATURES: "AWS_MANAGED_THREAT_SIGNATURES",
|
|
301
|
-
};
|
|
302
|
-
export const ResourceManagedStatus = {
|
|
303
|
-
ACCOUNT: "ACCOUNT",
|
|
304
|
-
MANAGED: "MANAGED",
|
|
305
|
-
};
|
|
306
|
-
export class LogDestinationPermissionException extends __BaseException {
|
|
307
|
-
name = "LogDestinationPermissionException";
|
|
308
|
-
$fault = "client";
|
|
309
|
-
Message;
|
|
310
|
-
constructor(opts) {
|
|
311
|
-
super({
|
|
312
|
-
name: "LogDestinationPermissionException",
|
|
313
|
-
$fault: "client",
|
|
314
|
-
...opts,
|
|
315
|
-
});
|
|
316
|
-
Object.setPrototypeOf(this, LogDestinationPermissionException.prototype);
|
|
317
|
-
this.Message = opts.Message;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
export class ResourceOwnerCheckException extends __BaseException {
|
|
321
|
-
name = "ResourceOwnerCheckException";
|
|
322
|
-
$fault = "client";
|
|
323
|
-
Message;
|
|
324
|
-
constructor(opts) {
|
|
325
|
-
super({
|
|
326
|
-
name: "ResourceOwnerCheckException",
|
|
327
|
-
$fault: "client",
|
|
328
|
-
...opts,
|
|
329
|
-
});
|
|
330
|
-
Object.setPrototypeOf(this, ResourceOwnerCheckException.prototype);
|
|
331
|
-
this.Message = opts.Message;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
1
|
+
export {};
|
|
@@ -235,6 +235,7 @@ const _LFPRi = "ListFirewallPoliciesResponse";
|
|
|
235
235
|
const _LFR = "ListFirewallsRequest";
|
|
236
236
|
const _LFRi = "ListFirewallsResponse";
|
|
237
237
|
const _LMT = "LastModifiedTime";
|
|
238
|
+
const _LN = "ListingName";
|
|
238
239
|
const _LRG = "ListRuleGroups";
|
|
239
240
|
const _LRGR = "ListRuleGroupsRequest";
|
|
240
241
|
const _LRGRi = "ListRuleGroupsResponse";
|
|
@@ -262,6 +263,7 @@ const _NT = "NextToken";
|
|
|
262
263
|
const _O = "Override";
|
|
263
264
|
const _P = "Protocol";
|
|
264
265
|
const _PC = "PacketCount";
|
|
266
|
+
const _PI = "ProductId";
|
|
265
267
|
const _PMA = "PublishMetricAction";
|
|
266
268
|
const _POS = "PerObjectStatus";
|
|
267
269
|
const _PR = "PortRange";
|
|
@@ -354,6 +356,7 @@ const _SRta = "StatelessRule";
|
|
|
354
356
|
const _SRtat = "StatelessRules";
|
|
355
357
|
const _SS = "SyncStates";
|
|
356
358
|
const _SSC = "SyncStateConfig";
|
|
359
|
+
const _SSu = "SubscriptionStatus";
|
|
357
360
|
const _SSy = "SyncStatus";
|
|
358
361
|
const _SSyn = "SyncState";
|
|
359
362
|
const _ST = "StartTime";
|
|
@@ -445,13 +448,14 @@ const _VEAp = "VpcEndpointAssociations";
|
|
|
445
448
|
const _VEI = "VpcEndpointId";
|
|
446
449
|
const _VI = "VpcId";
|
|
447
450
|
const _VIp = "VpcIds";
|
|
451
|
+
const _VN = "VendorName";
|
|
448
452
|
const _c = "client";
|
|
449
453
|
const _e = "error";
|
|
450
454
|
const _s = "server";
|
|
451
455
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.networkfirewall";
|
|
452
456
|
const n0 = "com.amazonaws.networkfirewall";
|
|
453
457
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
454
|
-
import { InsufficientCapacityException as __InsufficientCapacityException, InternalServerError as __InternalServerError, InvalidOperationException as __InvalidOperationException, InvalidRequestException as __InvalidRequestException, InvalidResourcePolicyException as __InvalidResourcePolicyException, InvalidTokenException as __InvalidTokenException, LimitExceededException as __LimitExceededException, LogDestinationPermissionException as __LogDestinationPermissionException, ResourceNotFoundException as __ResourceNotFoundException, ResourceOwnerCheckException as __ResourceOwnerCheckException, ThrottlingException as __ThrottlingException, UnsupportedOperationException as __UnsupportedOperationException, } from "../models/
|
|
458
|
+
import { InsufficientCapacityException as __InsufficientCapacityException, InternalServerError as __InternalServerError, InvalidOperationException as __InvalidOperationException, InvalidRequestException as __InvalidRequestException, InvalidResourcePolicyException as __InvalidResourcePolicyException, InvalidTokenException as __InvalidTokenException, LimitExceededException as __LimitExceededException, LogDestinationPermissionException as __LogDestinationPermissionException, ResourceNotFoundException as __ResourceNotFoundException, ResourceOwnerCheckException as __ResourceOwnerCheckException, ThrottlingException as __ThrottlingException, UnsupportedOperationException as __UnsupportedOperationException, } from "../models/errors";
|
|
455
459
|
import { NetworkFirewallServiceException as __NetworkFirewallServiceException } from "../models/NetworkFirewallServiceException";
|
|
456
460
|
export var AcceptNetworkFirewallTransitGatewayAttachmentRequest = [
|
|
457
461
|
3,
|
|
@@ -775,8 +779,8 @@ export var DescribeRuleGroupMetadataResponse = [
|
|
|
775
779
|
n0,
|
|
776
780
|
_DRGMRe,
|
|
777
781
|
0,
|
|
778
|
-
[_RGA, _RGN, _De, _Ty, _C, _SRO, _LMT],
|
|
779
|
-
[0, 0, 0, 0, 1, () => StatefulRuleOptions, 4],
|
|
782
|
+
[_RGA, _RGN, _De, _Ty, _C, _SRO, _LMT, _VN, _PI, _LN],
|
|
783
|
+
[0, 0, 0, 0, 1, () => StatefulRuleOptions, 4, 0, 0, 0],
|
|
780
784
|
];
|
|
781
785
|
export var DescribeRuleGroupRequest = [3, n0, _DRGRes, 0, [_RGN, _RGA, _Ty, _ARG], [0, 0, 0, 2]];
|
|
782
786
|
export var DescribeRuleGroupResponse = [
|
|
@@ -1088,7 +1092,14 @@ export var ListFlowOperationsResponse = [
|
|
|
1088
1092
|
[_FOl, _NT],
|
|
1089
1093
|
[() => FlowOperations, 0],
|
|
1090
1094
|
];
|
|
1091
|
-
export var ListRuleGroupsRequest = [
|
|
1095
|
+
export var ListRuleGroupsRequest = [
|
|
1096
|
+
3,
|
|
1097
|
+
n0,
|
|
1098
|
+
_LRGR,
|
|
1099
|
+
0,
|
|
1100
|
+
[_NT, _MR, _Sc, _MT, _SSu, _Ty],
|
|
1101
|
+
[0, 1, 0, 0, 0, 0],
|
|
1102
|
+
];
|
|
1092
1103
|
export var ListRuleGroupsResponse = [3, n0, _LRGRi, 0, [_NT, _RGu], [0, () => RuleGroups]];
|
|
1093
1104
|
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_NT, _MR, _RA], [0, 1, 0]];
|
|
1094
1105
|
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_NT, _T], [0, () => TagList]];
|
|
@@ -1186,7 +1197,7 @@ export var RuleGroup = [
|
|
|
1186
1197
|
[_RV, _RS, _RSu, _SRO],
|
|
1187
1198
|
[() => RuleVariables, () => ReferenceSets, () => RulesSource, () => StatefulRuleOptions],
|
|
1188
1199
|
];
|
|
1189
|
-
export var RuleGroupMetadata = [3, n0, _RGM, 0, [_N, _Ar], [0, 0]];
|
|
1200
|
+
export var RuleGroupMetadata = [3, n0, _RGM, 0, [_N, _Ar, _VN], [0, 0, 0]];
|
|
1190
1201
|
export var RuleGroupResponse = [
|
|
1191
1202
|
3,
|
|
1192
1203
|
n0,
|
|
@@ -133,7 +133,7 @@ declare const CreateFirewallCommand_base: {
|
|
|
133
133
|
* // },
|
|
134
134
|
* // Config: { // SyncStateConfig
|
|
135
135
|
* // "<keys>": { // PerObjectStatus
|
|
136
|
-
* // SyncStatus: "PENDING" || "IN_SYNC" || "CAPACITY_CONSTRAINED",
|
|
136
|
+
* // SyncStatus: "PENDING" || "IN_SYNC" || "CAPACITY_CONSTRAINED" || "NOT_SUBSCRIBED" || "DEPRECATED",
|
|
137
137
|
* // UpdateToken: "STRING_VALUE",
|
|
138
138
|
* // },
|
|
139
139
|
* // },
|
|
@@ -105,7 +105,7 @@ declare const DeleteFirewallCommand_base: {
|
|
|
105
105
|
* // },
|
|
106
106
|
* // Config: { // SyncStateConfig
|
|
107
107
|
* // "<keys>": { // PerObjectStatus
|
|
108
|
-
* // SyncStatus: "PENDING" || "IN_SYNC" || "CAPACITY_CONSTRAINED",
|
|
108
|
+
* // SyncStatus: "PENDING" || "IN_SYNC" || "CAPACITY_CONSTRAINED" || "NOT_SUBSCRIBED" || "DEPRECATED",
|
|
109
109
|
* // UpdateToken: "STRING_VALUE",
|
|
110
110
|
* // },
|
|
111
111
|
* // },
|
|
@@ -96,7 +96,7 @@ declare const DescribeFirewallCommand_base: {
|
|
|
96
96
|
* // },
|
|
97
97
|
* // Config: { // SyncStateConfig
|
|
98
98
|
* // "<keys>": { // PerObjectStatus
|
|
99
|
-
* // SyncStatus: "PENDING" || "IN_SYNC" || "CAPACITY_CONSTRAINED",
|
|
99
|
+
* // SyncStatus: "PENDING" || "IN_SYNC" || "CAPACITY_CONSTRAINED" || "NOT_SUBSCRIBED" || "DEPRECATED",
|
|
100
100
|
* // UpdateToken: "STRING_VALUE",
|
|
101
101
|
* // },
|
|
102
102
|
* // },
|
|
@@ -56,6 +56,9 @@ declare const DescribeRuleGroupMetadataCommand_base: {
|
|
|
56
56
|
* // RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
57
57
|
* // },
|
|
58
58
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // VendorName: "STRING_VALUE",
|
|
60
|
+
* // ProductId: "STRING_VALUE",
|
|
61
|
+
* // ListingName: "STRING_VALUE",
|
|
59
62
|
* // };
|
|
60
63
|
*
|
|
61
64
|
* ```
|
|
@@ -42,7 +42,8 @@ declare const ListRuleGroupsCommand_base: {
|
|
|
42
42
|
* NextToken: "STRING_VALUE",
|
|
43
43
|
* MaxResults: Number("int"),
|
|
44
44
|
* Scope: "MANAGED" || "ACCOUNT",
|
|
45
|
-
* ManagedType: "AWS_MANAGED_THREAT_SIGNATURES" || "AWS_MANAGED_DOMAIN_LISTS" || "ACTIVE_THREAT_DEFENSE",
|
|
45
|
+
* ManagedType: "AWS_MANAGED_THREAT_SIGNATURES" || "AWS_MANAGED_DOMAIN_LISTS" || "ACTIVE_THREAT_DEFENSE" || "PARTNER_MANAGED",
|
|
46
|
+
* SubscriptionStatus: "NOT_SUBSCRIBED" || "SUBSCRIBED",
|
|
46
47
|
* Type: "STATELESS" || "STATEFUL",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new ListRuleGroupsCommand(input);
|
|
@@ -53,6 +54,7 @@ declare const ListRuleGroupsCommand_base: {
|
|
|
53
54
|
* // { // RuleGroupMetadata
|
|
54
55
|
* // Name: "STRING_VALUE",
|
|
55
56
|
* // Arn: "STRING_VALUE",
|
|
57
|
+
* // VendorName: "STRING_VALUE",
|
|
56
58
|
* // },
|
|
57
59
|
* // ],
|
|
58
60
|
* // };
|
|
@@ -83,6 +83,9 @@ declare const UpdateFirewallAnalysisSettingsCommand_base: {
|
|
|
83
83
|
* </li>
|
|
84
84
|
* </ul>
|
|
85
85
|
*
|
|
86
|
+
* @throws {@link InvalidTokenException} (client fault)
|
|
87
|
+
* <p>The token you provided is stale or isn't valid for the operation. </p>
|
|
88
|
+
*
|
|
86
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
90
|
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
88
91
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -96,5 +96,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
96
96
|
export type { NetworkFirewallExtensionConfiguration } from "./extensionConfiguration";
|
|
97
97
|
export * from "./commands";
|
|
98
98
|
export * from "./pagination";
|
|
99
|
-
export * from "./models";
|
|
99
|
+
export * from "./models/enums";
|
|
100
|
+
export * from "./models/errors";
|
|
101
|
+
export type * from "./models/models_0";
|
|
100
102
|
export { NetworkFirewallServiceException } from "./models/NetworkFirewallServiceException";
|