@aws-sdk/client-network-firewall 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.
@@ -0,0 +1,403 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const TransitGatewayAttachmentStatus: {
6
+ readonly CREATING: "CREATING";
7
+ readonly DELETED: "DELETED";
8
+ readonly DELETING: "DELETING";
9
+ readonly ERROR: "ERROR";
10
+ readonly FAILED: "FAILED";
11
+ readonly PENDING_ACCEPTANCE: "PENDING_ACCEPTANCE";
12
+ readonly READY: "READY";
13
+ readonly REJECTED: "REJECTED";
14
+ readonly REJECTING: "REJECTING";
15
+ };
16
+ /**
17
+ * @public
18
+ */
19
+ export type TransitGatewayAttachmentStatus = (typeof TransitGatewayAttachmentStatus)[keyof typeof TransitGatewayAttachmentStatus];
20
+ /**
21
+ * @public
22
+ * @enum
23
+ */
24
+ export declare const EnabledAnalysisType: {
25
+ readonly HTTP_HOST: "HTTP_HOST";
26
+ readonly TLS_SNI: "TLS_SNI";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type EnabledAnalysisType = (typeof EnabledAnalysisType)[keyof typeof EnabledAnalysisType];
32
+ /**
33
+ * @public
34
+ * @enum
35
+ */
36
+ export declare const IdentifiedType: {
37
+ readonly STATELESS_RULE_CONTAINS_TCP_FLAGS: "STATELESS_RULE_CONTAINS_TCP_FLAGS";
38
+ readonly STATELESS_RULE_FORWARDING_ASYMMETRICALLY: "STATELESS_RULE_FORWARDING_ASYMMETRICALLY";
39
+ };
40
+ /**
41
+ * @public
42
+ */
43
+ export type IdentifiedType = (typeof IdentifiedType)[keyof typeof IdentifiedType];
44
+ /**
45
+ * @public
46
+ * @enum
47
+ */
48
+ export declare const IPAddressType: {
49
+ readonly DUALSTACK: "DUALSTACK";
50
+ readonly IPV4: "IPV4";
51
+ readonly IPV6: "IPV6";
52
+ };
53
+ /**
54
+ * @public
55
+ */
56
+ export type IPAddressType = (typeof IPAddressType)[keyof typeof IPAddressType];
57
+ /**
58
+ * @public
59
+ * @enum
60
+ */
61
+ export declare const AttachmentStatus: {
62
+ readonly CREATING: "CREATING";
63
+ readonly DELETING: "DELETING";
64
+ readonly ERROR: "ERROR";
65
+ readonly FAILED: "FAILED";
66
+ readonly READY: "READY";
67
+ readonly SCALING: "SCALING";
68
+ };
69
+ /**
70
+ * @public
71
+ */
72
+ export type AttachmentStatus = (typeof AttachmentStatus)[keyof typeof AttachmentStatus];
73
+ /**
74
+ * @public
75
+ * @enum
76
+ */
77
+ export declare const RevocationCheckAction: {
78
+ readonly DROP: "DROP";
79
+ readonly PASS: "PASS";
80
+ readonly REJECT: "REJECT";
81
+ };
82
+ /**
83
+ * @public
84
+ */
85
+ export type RevocationCheckAction = (typeof RevocationCheckAction)[keyof typeof RevocationCheckAction];
86
+ /**
87
+ * @public
88
+ * @enum
89
+ */
90
+ export declare const ConfigurationSyncState: {
91
+ readonly CAPACITY_CONSTRAINED: "CAPACITY_CONSTRAINED";
92
+ readonly IN_SYNC: "IN_SYNC";
93
+ readonly PENDING: "PENDING";
94
+ };
95
+ /**
96
+ * @public
97
+ */
98
+ export type ConfigurationSyncState = (typeof ConfigurationSyncState)[keyof typeof ConfigurationSyncState];
99
+ /**
100
+ * @public
101
+ * @enum
102
+ */
103
+ export declare const EncryptionType: {
104
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
105
+ readonly CUSTOMER_KMS: "CUSTOMER_KMS";
106
+ };
107
+ /**
108
+ * @public
109
+ */
110
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
111
+ /**
112
+ * @public
113
+ * @enum
114
+ */
115
+ export declare const FirewallStatusValue: {
116
+ readonly DELETING: "DELETING";
117
+ readonly PROVISIONING: "PROVISIONING";
118
+ readonly READY: "READY";
119
+ };
120
+ /**
121
+ * @public
122
+ */
123
+ export type FirewallStatusValue = (typeof FirewallStatusValue)[keyof typeof FirewallStatusValue];
124
+ /**
125
+ * @public
126
+ * @enum
127
+ */
128
+ export declare const PerObjectSyncStatus: {
129
+ readonly CAPACITY_CONSTRAINED: "CAPACITY_CONSTRAINED";
130
+ readonly DEPRECATED: "DEPRECATED";
131
+ readonly IN_SYNC: "IN_SYNC";
132
+ readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
133
+ readonly PENDING: "PENDING";
134
+ };
135
+ /**
136
+ * @public
137
+ */
138
+ export type PerObjectSyncStatus = (typeof PerObjectSyncStatus)[keyof typeof PerObjectSyncStatus];
139
+ /**
140
+ * @public
141
+ * @enum
142
+ */
143
+ export declare const RuleOrder: {
144
+ readonly DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER";
145
+ readonly STRICT_ORDER: "STRICT_ORDER";
146
+ };
147
+ /**
148
+ * @public
149
+ */
150
+ export type RuleOrder = (typeof RuleOrder)[keyof typeof RuleOrder];
151
+ /**
152
+ * @public
153
+ * @enum
154
+ */
155
+ export declare const StreamExceptionPolicy: {
156
+ readonly CONTINUE: "CONTINUE";
157
+ readonly DROP: "DROP";
158
+ readonly REJECT: "REJECT";
159
+ };
160
+ /**
161
+ * @public
162
+ */
163
+ export type StreamExceptionPolicy = (typeof StreamExceptionPolicy)[keyof typeof StreamExceptionPolicy];
164
+ /**
165
+ * @public
166
+ * @enum
167
+ */
168
+ export declare const OverrideAction: {
169
+ readonly DROP_TO_ALERT: "DROP_TO_ALERT";
170
+ };
171
+ /**
172
+ * @public
173
+ */
174
+ export type OverrideAction = (typeof OverrideAction)[keyof typeof OverrideAction];
175
+ /**
176
+ * @public
177
+ * @enum
178
+ */
179
+ export declare const ResourceStatus: {
180
+ readonly ACTIVE: "ACTIVE";
181
+ readonly DELETING: "DELETING";
182
+ readonly ERROR: "ERROR";
183
+ };
184
+ /**
185
+ * @public
186
+ */
187
+ export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
188
+ /**
189
+ * @public
190
+ * @enum
191
+ */
192
+ export declare const GeneratedRulesType: {
193
+ readonly ALERTLIST: "ALERTLIST";
194
+ readonly ALLOWLIST: "ALLOWLIST";
195
+ readonly DENYLIST: "DENYLIST";
196
+ readonly REJECTLIST: "REJECTLIST";
197
+ };
198
+ /**
199
+ * @public
200
+ */
201
+ export type GeneratedRulesType = (typeof GeneratedRulesType)[keyof typeof GeneratedRulesType];
202
+ /**
203
+ * @public
204
+ * @enum
205
+ */
206
+ export declare const TargetType: {
207
+ readonly HTTP_HOST: "HTTP_HOST";
208
+ readonly TLS_SNI: "TLS_SNI";
209
+ };
210
+ /**
211
+ * @public
212
+ */
213
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
214
+ /**
215
+ * @public
216
+ * @enum
217
+ */
218
+ export declare const StatefulAction: {
219
+ readonly ALERT: "ALERT";
220
+ readonly DROP: "DROP";
221
+ readonly PASS: "PASS";
222
+ readonly REJECT: "REJECT";
223
+ };
224
+ /**
225
+ * @public
226
+ */
227
+ export type StatefulAction = (typeof StatefulAction)[keyof typeof StatefulAction];
228
+ /**
229
+ * @public
230
+ * @enum
231
+ */
232
+ export declare const StatefulRuleDirection: {
233
+ readonly ANY: "ANY";
234
+ readonly FORWARD: "FORWARD";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type StatefulRuleDirection = (typeof StatefulRuleDirection)[keyof typeof StatefulRuleDirection];
240
+ /**
241
+ * @public
242
+ * @enum
243
+ */
244
+ export declare const StatefulRuleProtocol: {
245
+ readonly ANY: "IP";
246
+ readonly DCERPC: "DCERPC";
247
+ readonly DHCP: "DHCP";
248
+ readonly DNS: "DNS";
249
+ readonly FTP: "FTP";
250
+ readonly HTTP: "HTTP";
251
+ readonly HTTP2: "HTTP2";
252
+ readonly ICMP: "ICMP";
253
+ readonly IKEV2: "IKEV2";
254
+ readonly IMAP: "IMAP";
255
+ readonly KRB5: "KRB5";
256
+ readonly MSN: "MSN";
257
+ readonly NTP: "NTP";
258
+ readonly QUIC: "QUIC";
259
+ readonly SMB: "SMB";
260
+ readonly SMTP: "SMTP";
261
+ readonly SSH: "SSH";
262
+ readonly TCP: "TCP";
263
+ readonly TFTP: "TFTP";
264
+ readonly TLS: "TLS";
265
+ readonly UDP: "UDP";
266
+ };
267
+ /**
268
+ * @public
269
+ */
270
+ export type StatefulRuleProtocol = (typeof StatefulRuleProtocol)[keyof typeof StatefulRuleProtocol];
271
+ /**
272
+ * @public
273
+ * @enum
274
+ */
275
+ export declare const TCPFlag: {
276
+ readonly ACK: "ACK";
277
+ readonly CWR: "CWR";
278
+ readonly ECE: "ECE";
279
+ readonly FIN: "FIN";
280
+ readonly PSH: "PSH";
281
+ readonly RST: "RST";
282
+ readonly SYN: "SYN";
283
+ readonly URG: "URG";
284
+ };
285
+ /**
286
+ * @public
287
+ */
288
+ export type TCPFlag = (typeof TCPFlag)[keyof typeof TCPFlag];
289
+ /**
290
+ * @public
291
+ * @enum
292
+ */
293
+ export declare const SummaryRuleOption: {
294
+ readonly METADATA: "METADATA";
295
+ readonly MSG: "MSG";
296
+ readonly SID: "SID";
297
+ };
298
+ /**
299
+ * @public
300
+ */
301
+ export type SummaryRuleOption = (typeof SummaryRuleOption)[keyof typeof SummaryRuleOption];
302
+ /**
303
+ * @public
304
+ * @enum
305
+ */
306
+ export declare const RuleGroupType: {
307
+ readonly STATEFUL: "STATEFUL";
308
+ readonly STATELESS: "STATELESS";
309
+ };
310
+ /**
311
+ * @public
312
+ */
313
+ export type RuleGroupType = (typeof RuleGroupType)[keyof typeof RuleGroupType];
314
+ /**
315
+ * @public
316
+ * @enum
317
+ */
318
+ export declare const FlowOperationStatus: {
319
+ readonly COMPLETED: "COMPLETED";
320
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
321
+ readonly FAILED: "FAILED";
322
+ readonly IN_PROGRESS: "IN_PROGRESS";
323
+ };
324
+ /**
325
+ * @public
326
+ */
327
+ export type FlowOperationStatus = (typeof FlowOperationStatus)[keyof typeof FlowOperationStatus];
328
+ /**
329
+ * @public
330
+ * @enum
331
+ */
332
+ export declare const FlowOperationType: {
333
+ readonly FLOW_CAPTURE: "FLOW_CAPTURE";
334
+ readonly FLOW_FLUSH: "FLOW_FLUSH";
335
+ };
336
+ /**
337
+ * @public
338
+ */
339
+ export type FlowOperationType = (typeof FlowOperationType)[keyof typeof FlowOperationType];
340
+ /**
341
+ * @public
342
+ * @enum
343
+ */
344
+ export declare const LogDestinationType: {
345
+ readonly CLOUDWATCH_LOGS: "CloudWatchLogs";
346
+ readonly KINESIS_DATA_FIREHOSE: "KinesisDataFirehose";
347
+ readonly S3: "S3";
348
+ };
349
+ /**
350
+ * @public
351
+ */
352
+ export type LogDestinationType = (typeof LogDestinationType)[keyof typeof LogDestinationType];
353
+ /**
354
+ * @public
355
+ * @enum
356
+ */
357
+ export declare const LogType: {
358
+ readonly ALERT: "ALERT";
359
+ readonly FLOW: "FLOW";
360
+ readonly TLS: "TLS";
361
+ };
362
+ /**
363
+ * @public
364
+ */
365
+ export type LogType = (typeof LogType)[keyof typeof LogType];
366
+ /**
367
+ * @public
368
+ * @enum
369
+ */
370
+ export declare const ResourceManagedType: {
371
+ readonly ACTIVE_THREAT_DEFENSE: "ACTIVE_THREAT_DEFENSE";
372
+ readonly AWS_MANAGED_DOMAIN_LISTS: "AWS_MANAGED_DOMAIN_LISTS";
373
+ readonly AWS_MANAGED_THREAT_SIGNATURES: "AWS_MANAGED_THREAT_SIGNATURES";
374
+ readonly PARTNER_MANAGED: "PARTNER_MANAGED";
375
+ };
376
+ /**
377
+ * @public
378
+ */
379
+ export type ResourceManagedType = (typeof ResourceManagedType)[keyof typeof ResourceManagedType];
380
+ /**
381
+ * @public
382
+ * @enum
383
+ */
384
+ export declare const ResourceManagedStatus: {
385
+ readonly ACCOUNT: "ACCOUNT";
386
+ readonly MANAGED: "MANAGED";
387
+ };
388
+ /**
389
+ * @public
390
+ */
391
+ export type ResourceManagedStatus = (typeof ResourceManagedStatus)[keyof typeof ResourceManagedStatus];
392
+ /**
393
+ * @public
394
+ * @enum
395
+ */
396
+ export declare const SubscriptionStatus: {
397
+ readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
398
+ readonly SUBSCRIBED: "SUBSCRIBED";
399
+ };
400
+ /**
401
+ * @public
402
+ */
403
+ export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
@@ -0,0 +1,174 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NetworkFirewallServiceException as __BaseException } from "./NetworkFirewallServiceException";
3
+ /**
4
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
5
+ * system problem. Retry your request. </p>
6
+ * @public
7
+ */
8
+ export declare class InternalServerError extends __BaseException {
9
+ readonly name: "InternalServerError";
10
+ readonly $fault: "server";
11
+ Message?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The operation failed because of a problem with your request. Examples include: </p>
19
+ * <ul>
20
+ * <li>
21
+ * <p>You specified an unsupported parameter name or value.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>You tried to update a property with a value that isn't among the available
25
+ * types.</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
29
+ * that isn't valid in the context of the request.</p>
30
+ * </li>
31
+ * </ul>
32
+ * @public
33
+ */
34
+ export declare class InvalidRequestException extends __BaseException {
35
+ readonly name: "InvalidRequestException";
36
+ readonly $fault: "client";
37
+ Message?: string | undefined;
38
+ /**
39
+ * @internal
40
+ */
41
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
42
+ }
43
+ /**
44
+ * <p>Unable to locate a resource using the parameters that you provided.</p>
45
+ * @public
46
+ */
47
+ export declare class ResourceNotFoundException extends __BaseException {
48
+ readonly name: "ResourceNotFoundException";
49
+ readonly $fault: "client";
50
+ Message?: string | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>Unable to process the request due to throttling limitations.</p>
58
+ * @public
59
+ */
60
+ export declare class ThrottlingException extends __BaseException {
61
+ readonly name: "ThrottlingException";
62
+ readonly $fault: "client";
63
+ Message?: string | undefined;
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your
71
+ * request later. </p>
72
+ * @public
73
+ */
74
+ export declare class InsufficientCapacityException extends __BaseException {
75
+ readonly name: "InsufficientCapacityException";
76
+ readonly $fault: "server";
77
+ Message?: string | undefined;
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<InsufficientCapacityException, __BaseException>);
82
+ }
83
+ /**
84
+ * <p>The operation failed because it's not valid. For example, you might have tried to delete
85
+ * a rule group or firewall policy that's in use.</p>
86
+ * @public
87
+ */
88
+ export declare class InvalidOperationException extends __BaseException {
89
+ readonly name: "InvalidOperationException";
90
+ readonly $fault: "client";
91
+ Message?: string | undefined;
92
+ /**
93
+ * @internal
94
+ */
95
+ constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
96
+ }
97
+ /**
98
+ * <p>The token you provided is stale or isn't valid for the operation. </p>
99
+ * @public
100
+ */
101
+ export declare class InvalidTokenException extends __BaseException {
102
+ readonly name: "InvalidTokenException";
103
+ readonly $fault: "client";
104
+ Message?: string | undefined;
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<InvalidTokenException, __BaseException>);
109
+ }
110
+ /**
111
+ * <p>Unable to perform the operation because doing so would violate a limit setting. </p>
112
+ * @public
113
+ */
114
+ export declare class LimitExceededException extends __BaseException {
115
+ readonly name: "LimitExceededException";
116
+ readonly $fault: "client";
117
+ Message?: string | undefined;
118
+ /**
119
+ * @internal
120
+ */
121
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
122
+ }
123
+ /**
124
+ * <p>The operation you requested isn't supported by Network Firewall. </p>
125
+ * @public
126
+ */
127
+ export declare class UnsupportedOperationException extends __BaseException {
128
+ readonly name: "UnsupportedOperationException";
129
+ readonly $fault: "client";
130
+ Message?: string | undefined;
131
+ /**
132
+ * @internal
133
+ */
134
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
135
+ }
136
+ /**
137
+ * <p>The policy statement failed validation.</p>
138
+ * @public
139
+ */
140
+ export declare class InvalidResourcePolicyException extends __BaseException {
141
+ readonly name: "InvalidResourcePolicyException";
142
+ readonly $fault: "client";
143
+ Message?: string | undefined;
144
+ /**
145
+ * @internal
146
+ */
147
+ constructor(opts: __ExceptionOptionType<InvalidResourcePolicyException, __BaseException>);
148
+ }
149
+ /**
150
+ * <p>Unable to send logs to a configured logging destination. </p>
151
+ * @public
152
+ */
153
+ export declare class LogDestinationPermissionException extends __BaseException {
154
+ readonly name: "LogDestinationPermissionException";
155
+ readonly $fault: "client";
156
+ Message?: string | undefined;
157
+ /**
158
+ * @internal
159
+ */
160
+ constructor(opts: __ExceptionOptionType<LogDestinationPermissionException, __BaseException>);
161
+ }
162
+ /**
163
+ * <p>Unable to change the resource because your account doesn't own it. </p>
164
+ * @public
165
+ */
166
+ export declare class ResourceOwnerCheckException extends __BaseException {
167
+ readonly name: "ResourceOwnerCheckException";
168
+ readonly $fault: "client";
169
+ Message?: string | undefined;
170
+ /**
171
+ * @internal
172
+ */
173
+ constructor(opts: __ExceptionOptionType<ResourceOwnerCheckException, __BaseException>);
174
+ }