@aws-sdk/client-network-firewall 3.245.0 → 3.247.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.
@@ -180,6 +180,7 @@ var StatefulAction;
180
180
  StatefulAction["ALERT"] = "ALERT";
181
181
  StatefulAction["DROP"] = "DROP";
182
182
  StatefulAction["PASS"] = "PASS";
183
+ StatefulAction["REJECT"] = "REJECT";
183
184
  })(StatefulAction = exports.StatefulAction || (exports.StatefulAction = {}));
184
185
  var StatefulRuleDirection;
185
186
  (function (StatefulRuleDirection) {
@@ -167,6 +167,7 @@ export var StatefulAction;
167
167
  StatefulAction["ALERT"] = "ALERT";
168
168
  StatefulAction["DROP"] = "DROP";
169
169
  StatefulAction["PASS"] = "PASS";
170
+ StatefulAction["REJECT"] = "REJECT";
170
171
  })(StatefulAction || (StatefulAction = {}));
171
172
  export var StatefulRuleDirection;
172
173
  (function (StatefulRuleDirection) {
@@ -970,7 +970,8 @@ export interface RulesSourceList {
970
970
  export declare enum StatefulAction {
971
971
  ALERT = "ALERT",
972
972
  DROP = "DROP",
973
- PASS = "PASS"
973
+ PASS = "PASS",
974
+ REJECT = "REJECT"
974
975
  }
975
976
  export declare enum StatefulRuleDirection {
976
977
  ANY = "ANY",
@@ -1109,6 +1110,13 @@ export interface StatefulRule {
1109
1110
  * can enable the rule with <code>ALERT</code> action, verify in the logs that the rule
1110
1111
  * is filtering as you want, then change the action to <code>DROP</code>.</p>
1111
1112
  * </li>
1113
+ * <li>
1114
+ * <p>
1115
+ * <b>REJECT</b> - Drops TCP traffic that matches the conditions of the stateful rule, and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and a <code>RST</code> bit contained in the TCP header flags. Also sends an alert log mesage if alert logging is configured in the <a>Firewall</a>
1116
+ * <a>LoggingConfiguration</a>.</p>
1117
+ * <p>
1118
+ * <code>REJECT</code> isn't currently available for use with IMAP and FTP protocols.</p>
1119
+ * </li>
1112
1120
  * </ul>
1113
1121
  */
1114
1122
  Action: StatefulAction | string | undefined;
@@ -289,6 +289,7 @@ export declare enum StatefulAction {
289
289
  ALERT = "ALERT",
290
290
  DROP = "DROP",
291
291
  PASS = "PASS",
292
+ REJECT = "REJECT",
292
293
  }
293
294
  export declare enum StatefulRuleDirection {
294
295
  ANY = "ANY",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-network-firewall",
3
3
  "description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native",
4
- "version": "3.245.0",
4
+ "version": "3.247.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",