@aws-sdk/client-network-firewall 3.1169.0 → 3.1171.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 +21 -7
- package/dist-cjs/index.js +184 -51
- package/dist-es/NetworkFirewall.js +8 -0
- package/dist-es/commands/ListContextStoresCommand.js +4 -0
- package/dist-es/commands/ListResourcesInContextStoreCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/pagination/ListContextStoresPaginator.js +4 -0
- package/dist-es/pagination/ListResourcesInContextStorePaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +133 -50
- package/dist-types/NetworkFirewall.d.ts +29 -0
- package/dist-types/NetworkFirewallClient.d.ts +4 -2
- package/dist-types/commands/CreateFirewallCommand.d.ts +6 -0
- package/dist-types/commands/CreateFirewallPolicyV2Command.d.ts +14 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +21 -0
- package/dist-types/commands/DeleteFirewallCommand.d.ts +6 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +6 -0
- package/dist-types/commands/DescribeFirewallPolicyV2Command.d.ts +14 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +21 -0
- package/dist-types/commands/ListContextStoresCommand.d.ts +105 -0
- package/dist-types/commands/ListResourcesInContextStoreCommand.d.ts +116 -0
- package/dist-types/commands/UpdateFirewallPolicyV2Command.d.ts +14 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +21 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +43 -0
- package/dist-types/models/models_0.d.ts +257 -1
- package/dist-types/pagination/ListContextStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcesInContextStorePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +49 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListContextStoresCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListResourcesInContextStoreCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +23 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/pagination/ListContextStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcesInContextStorePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,16 +108,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
108
108
|
|
|
109
109
|
The AWS SDK is modulized by clients and commands.
|
|
110
110
|
To send a request, you only need to import the `NetworkFirewallClient` and
|
|
111
|
-
the commands you need, for example `
|
|
111
|
+
the commands you need, for example `ListContextStoresCommand`:
|
|
112
112
|
|
|
113
113
|
```js
|
|
114
114
|
// ES5 example
|
|
115
|
-
const { NetworkFirewallClient,
|
|
115
|
+
const { NetworkFirewallClient, ListContextStoresCommand } = require("@aws-sdk/client-network-firewall");
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
```ts
|
|
119
119
|
// ES6+ example
|
|
120
|
-
import { NetworkFirewallClient,
|
|
120
|
+
import { NetworkFirewallClient, ListContextStoresCommand } from "@aws-sdk/client-network-firewall";
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
### Usage
|
|
@@ -134,7 +134,7 @@ To send a request:
|
|
|
134
134
|
const client = new NetworkFirewallClient({ region: "REGION" });
|
|
135
135
|
|
|
136
136
|
const params = { /** input parameters */ };
|
|
137
|
-
const command = new
|
|
137
|
+
const command = new ListContextStoresCommand(params);
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
#### Supported Message Protocols
|
|
@@ -229,7 +229,7 @@ const client = new NetworkFirewall({ region: "REGION" });
|
|
|
229
229
|
|
|
230
230
|
// async/await.
|
|
231
231
|
try {
|
|
232
|
-
const data = await client.
|
|
232
|
+
const data = await client.listContextStores(params);
|
|
233
233
|
// process data.
|
|
234
234
|
} catch (error) {
|
|
235
235
|
// error handling.
|
|
@@ -237,7 +237,7 @@ try {
|
|
|
237
237
|
|
|
238
238
|
// Promises.
|
|
239
239
|
client
|
|
240
|
-
.
|
|
240
|
+
.listContextStores(params)
|
|
241
241
|
.then((data) => {
|
|
242
242
|
// process data.
|
|
243
243
|
})
|
|
@@ -246,7 +246,7 @@ client
|
|
|
246
246
|
});
|
|
247
247
|
|
|
248
248
|
// callbacks (not recommended).
|
|
249
|
-
client.
|
|
249
|
+
client.listContextStores(params, (err, data) => {
|
|
250
250
|
// process err and data.
|
|
251
251
|
});
|
|
252
252
|
```
|
|
@@ -586,6 +586,13 @@ ListContainerAssociations
|
|
|
586
586
|
</details>
|
|
587
587
|
<details>
|
|
588
588
|
<summary>
|
|
589
|
+
ListContextStores
|
|
590
|
+
</summary>
|
|
591
|
+
|
|
592
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/ListContextStoresCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/ListContextStoresCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/ListContextStoresCommandOutput/)
|
|
593
|
+
</details>
|
|
594
|
+
<details>
|
|
595
|
+
<summary>
|
|
589
596
|
ListFirewallPolicies
|
|
590
597
|
</summary>
|
|
591
598
|
|
|
@@ -621,6 +628,13 @@ ListFlowOperations
|
|
|
621
628
|
</details>
|
|
622
629
|
<details>
|
|
623
630
|
<summary>
|
|
631
|
+
ListResourcesInContextStore
|
|
632
|
+
</summary>
|
|
633
|
+
|
|
634
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/network-firewall/command/ListResourcesInContextStoreCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/ListResourcesInContextStoreCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-network-firewall/Interface/ListResourcesInContextStoreCommandOutput/)
|
|
635
|
+
</details>
|
|
636
|
+
<details>
|
|
637
|
+
<summary>
|
|
624
638
|
ListRuleGroups
|
|
625
639
|
</summary>
|
|
626
640
|
|