@aws-sdk/client-network-firewall 3.1165.0 → 3.1167.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/README.md +74 -0
- package/dist-cjs/index.js +587 -54
- package/dist-es/NetworkFirewall.js +12 -0
- package/dist-es/commands/CreateFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/DeleteFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/DescribeFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/ListFirewallPoliciesV2Command.js +4 -0
- package/dist-es/commands/UpdateFirewallPolicyV2Command.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +284 -11
- package/dist-es/pagination/ListFirewallPoliciesV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +237 -42
- package/dist-types/NetworkFirewall.d.ts +45 -0
- package/dist-types/NetworkFirewallClient.d.ts +7 -2
- package/dist-types/commands/CreateFirewallPolicyV2Command.d.ts +289 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +92 -2
- package/dist-types/commands/DeleteFirewallPolicyV2Command.d.ts +134 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFirewallPolicyV2Command.d.ts +270 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +93 -2
- package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRuleGroupSummaryCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallPoliciesV2Command.d.ts +101 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallPolicyV2Command.d.ts +283 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +92 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +362 -25
- package/dist-types/models/models_0.d.ts +1098 -265
- package/dist-types/pagination/ListFirewallPoliciesV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +28 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +95 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateFirewallPolicyV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteFirewallPolicyV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeFirewallPolicyV2Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListFirewallPoliciesV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateFirewallPolicyV2Command.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +295 -13
- package/dist-types/ts3.4/models/models_0.d.ts +171 -22
- package/dist-types/ts3.4/pagination/ListFirewallPoliciesV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -137,6 +137,45 @@ const params = { /** input parameters */ };
|
|
|
137
137
|
const command = new ListProxiesCommand(params);
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
+
#### Supported Message Protocols
|
|
141
|
+
|
|
142
|
+
This client supports multiple protocols.
|
|
143
|
+
|
|
144
|
+
The default for this client is **AWS JSON (RPC) 1.0**.
|
|
145
|
+
|
|
146
|
+
We have selected this default based on our evaluation of the
|
|
147
|
+
performance characteristics of this protocol format in JavaScript. You don't need to change it,
|
|
148
|
+
but you have the option to do so, for example to support existing integrations or tests.
|
|
149
|
+
Selecting a non-default protocol changes the format
|
|
150
|
+
of the data sent over the network, but does not affect how you interact with the
|
|
151
|
+
client using JavaScript objects.
|
|
152
|
+
|
|
153
|
+
Install the `@aws-sdk/config` package to access alternate protocols.
|
|
154
|
+
|
|
155
|
+
See [AWS Protocols](https://smithy.io/2.0/aws/protocols/index.html) for more information.
|
|
156
|
+
|
|
157
|
+
##### AWS JSON (RPC) 1.0
|
|
158
|
+
|
|
159
|
+
This protocol uses JSON payloads.
|
|
160
|
+
```js
|
|
161
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/config/protocol";
|
|
162
|
+
|
|
163
|
+
const client = new NetworkFirewallClient({
|
|
164
|
+
protocol: AwsJson1_0Protocol
|
|
165
|
+
});
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
##### Smithy RPC v2 CBOR
|
|
169
|
+
|
|
170
|
+
This protocol uses CBOR payloads.
|
|
171
|
+
```js
|
|
172
|
+
import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";
|
|
173
|
+
|
|
174
|
+
const client = new NetworkFirewallClient({
|
|
175
|
+
protocol: AwsSmithyRpcV2CborProtocol
|
|
176
|
+
});
|
|
177
|
+
```
|
|
178
|
+
|
|
140
179
|
#### Async/await
|
|
141
180
|
|
|
142
181
|
We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
|
|
@@ -323,6 +362,13 @@ CreateFirewallPolicy
|
|
|
323
362
|
</details>
|
|
324
363
|
<details>
|
|
325
364
|
<summary>
|
|
365
|
+
CreateFirewallPolicyV2
|
|
366
|
+
</summary>
|
|
367
|
+
|
|
368
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/CreateFirewallPolicyV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/CreateFirewallPolicyV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/CreateFirewallPolicyV2CommandOutput/)
|
|
369
|
+
</details>
|
|
370
|
+
<details>
|
|
371
|
+
<summary>
|
|
326
372
|
CreateProxy
|
|
327
373
|
</summary>
|
|
328
374
|
|
|
@@ -393,6 +439,13 @@ DeleteFirewallPolicy
|
|
|
393
439
|
</details>
|
|
394
440
|
<details>
|
|
395
441
|
<summary>
|
|
442
|
+
DeleteFirewallPolicyV2
|
|
443
|
+
</summary>
|
|
444
|
+
|
|
445
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/DeleteFirewallPolicyV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/DeleteFirewallPolicyV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/DeleteFirewallPolicyV2CommandOutput/)
|
|
446
|
+
</details>
|
|
447
|
+
<details>
|
|
448
|
+
<summary>
|
|
396
449
|
DeleteNetworkFirewallTransitGatewayAttachment
|
|
397
450
|
</summary>
|
|
398
451
|
|
|
@@ -484,6 +537,13 @@ DescribeFirewallPolicy
|
|
|
484
537
|
</details>
|
|
485
538
|
<details>
|
|
486
539
|
<summary>
|
|
540
|
+
DescribeFirewallPolicyV2
|
|
541
|
+
</summary>
|
|
542
|
+
|
|
543
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/DescribeFirewallPolicyV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/DescribeFirewallPolicyV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/DescribeFirewallPolicyV2CommandOutput/)
|
|
544
|
+
</details>
|
|
545
|
+
<details>
|
|
546
|
+
<summary>
|
|
487
547
|
DescribeFlowOperation
|
|
488
548
|
</summary>
|
|
489
549
|
|
|
@@ -617,6 +677,13 @@ ListFirewallPolicies
|
|
|
617
677
|
</details>
|
|
618
678
|
<details>
|
|
619
679
|
<summary>
|
|
680
|
+
ListFirewallPoliciesV2
|
|
681
|
+
</summary>
|
|
682
|
+
|
|
683
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/ListFirewallPoliciesV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/ListFirewallPoliciesV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/ListFirewallPoliciesV2CommandOutput/)
|
|
684
|
+
</details>
|
|
685
|
+
<details>
|
|
686
|
+
<summary>
|
|
620
687
|
ListFirewalls
|
|
621
688
|
</summary>
|
|
622
689
|
|
|
@@ -792,6 +859,13 @@ UpdateFirewallPolicyChangeProtection
|
|
|
792
859
|
</details>
|
|
793
860
|
<details>
|
|
794
861
|
<summary>
|
|
862
|
+
UpdateFirewallPolicyV2
|
|
863
|
+
</summary>
|
|
864
|
+
|
|
865
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/UpdateFirewallPolicyV2Command/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/UpdateFirewallPolicyV2CommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/UpdateFirewallPolicyV2CommandOutput/)
|
|
866
|
+
</details>
|
|
867
|
+
<details>
|
|
868
|
+
<summary>
|
|
795
869
|
UpdateLoggingConfiguration
|
|
796
870
|
</summary>
|
|
797
871
|
|