@aws-sdk/client-fms 3.299.0 → 3.301.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-types/commands/AssociateAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/AssociateThirdPartyFirewallCommand.d.ts +3 -0
- package/dist-types/commands/BatchAssociateResourceCommand.d.ts +6 -0
- package/dist-types/commands/BatchDisassociateResourceCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAppsListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteNotificationChannelCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProtocolsListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourceSetCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateThirdPartyFirewallCommand.d.ts +3 -0
- package/dist-types/commands/GetAdminAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetAppsListCommand.d.ts +4 -0
- package/dist-types/commands/GetComplianceDetailCommand.d.ts +4 -0
- package/dist-types/commands/GetNotificationChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetProtectionStatusCommand.d.ts +8 -0
- package/dist-types/commands/GetProtocolsListCommand.d.ts +4 -0
- package/dist-types/commands/GetResourceSetCommand.d.ts +3 -0
- package/dist-types/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetViolationDetailsCommand.d.ts +6 -0
- package/dist-types/commands/ListAppsListsCommand.d.ts +5 -0
- package/dist-types/commands/ListComplianceStatusCommand.d.ts +5 -0
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +8 -0
- package/dist-types/commands/ListMemberAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/ListProtocolsListsCommand.d.ts +5 -0
- package/dist-types/commands/ListResourceSetResourcesCommand.d.ts +5 -0
- package/dist-types/commands/ListResourceSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/PutAppsListCommand.d.ts +31 -0
- package/dist-types/commands/PutNotificationChannelCommand.d.ts +4 -0
- package/dist-types/commands/PutPolicyCommand.d.ts +52 -0
- package/dist-types/commands/PutProtocolsListCommand.d.ts +23 -0
- package/dist-types/commands/PutResourceSetCommand.d.ts +18 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -29,6 +29,9 @@ export interface AssociateAdminAccountCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { FMSClient, AssociateAdminAccountCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
30
30
|
* // const { FMSClient, AssociateAdminAccountCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
31
31
|
* const client = new FMSClient(config);
|
|
32
|
+
* const input = { // AssociateAdminAccountRequest
|
|
33
|
+
* AdminAccount: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new AssociateAdminAccountCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface AssociateThirdPartyFirewallCommandOutput extends AssociateThird
|
|
|
26
26
|
* import { FMSClient, AssociateThirdPartyFirewallCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, AssociateThirdPartyFirewallCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // AssociateThirdPartyFirewallRequest
|
|
30
|
+
* ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW" || "FORTIGATE_CLOUD_NATIVE_FIREWALL", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new AssociateThirdPartyFirewallCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchAssociateResourceCommandOutput extends BatchAssociateResou
|
|
|
26
26
|
* import { FMSClient, BatchAssociateResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, BatchAssociateResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // BatchAssociateResourceRequest
|
|
30
|
+
* ResourceSetIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* Items: [ // IdentifierList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchAssociateResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchDisassociateResourceCommandOutput extends BatchDisassociat
|
|
|
26
26
|
* import { FMSClient, BatchDisassociateResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, BatchDisassociateResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // BatchDisassociateResourceRequest
|
|
30
|
+
* ResourceSetIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* Items: [ // IdentifierList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchDisassociateResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteAppsListCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { FMSClient, DeleteAppsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, DeleteAppsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // DeleteAppsListRequest
|
|
30
|
+
* ListId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteAppsListCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface DeleteNotificationChannelCommandOutput extends __MetadataBearer
|
|
|
27
27
|
* import { FMSClient, DeleteNotificationChannelCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
28
28
|
* // const { FMSClient, DeleteNotificationChannelCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
29
29
|
* const client = new FMSClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new DeleteNotificationChannelCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { FMSClient, DeletePolicyCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, DeletePolicyCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // DeletePolicyRequest
|
|
30
|
+
* PolicyId: "STRING_VALUE", // required
|
|
31
|
+
* DeleteAllPolicyResources: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeletePolicyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteProtocolsListCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { FMSClient, DeleteProtocolsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, DeleteProtocolsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // DeleteProtocolsListRequest
|
|
30
|
+
* ListId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteProtocolsListCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteResourceSetCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { FMSClient, DeleteResourceSetCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, DeleteResourceSetCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // DeleteResourceSetRequest
|
|
30
|
+
* Identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteResourceSetCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface DisassociateAdminAccountCommandOutput extends __MetadataBearer
|
|
|
28
28
|
* import { FMSClient, DisassociateAdminAccountCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
29
29
|
* // const { FMSClient, DisassociateAdminAccountCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
30
30
|
* const client = new FMSClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new DisassociateAdminAccountCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DisassociateThirdPartyFirewallCommandOutput extends Disassociat
|
|
|
26
26
|
* import { FMSClient, DisassociateThirdPartyFirewallCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, DisassociateThirdPartyFirewallCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // DisassociateThirdPartyFirewallRequest
|
|
30
|
+
* ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW" || "FORTIGATE_CLOUD_NATIVE_FIREWALL", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DisassociateThirdPartyFirewallCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface GetAdminAccountCommandOutput extends GetAdminAccountResponse, _
|
|
|
27
27
|
* import { FMSClient, GetAdminAccountCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
28
28
|
* // const { FMSClient, GetAdminAccountCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
29
29
|
* const client = new FMSClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new GetAdminAccountCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetAppsListCommandOutput extends GetAppsListResponse, __Metadat
|
|
|
26
26
|
* import { FMSClient, GetAppsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, GetAppsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // GetAppsListRequest
|
|
30
|
+
* ListId: "STRING_VALUE", // required
|
|
31
|
+
* DefaultList: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetAppsListCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface GetComplianceDetailCommandOutput extends GetComplianceDetailRes
|
|
|
49
49
|
* import { FMSClient, GetComplianceDetailCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
50
50
|
* // const { FMSClient, GetComplianceDetailCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
51
51
|
* const client = new FMSClient(config);
|
|
52
|
+
* const input = { // GetComplianceDetailRequest
|
|
53
|
+
* PolicyId: "STRING_VALUE", // required
|
|
54
|
+
* MemberAccount: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new GetComplianceDetailCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface GetNotificationChannelCommandOutput extends GetNotificationChan
|
|
|
28
28
|
* import { FMSClient, GetNotificationChannelCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
29
29
|
* // const { FMSClient, GetNotificationChannelCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
30
30
|
* const client = new FMSClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new GetNotificationChannelCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
|
|
|
26
26
|
* import { FMSClient, GetPolicyCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, GetPolicyCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // GetPolicyRequest
|
|
30
|
+
* PolicyId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetPolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface GetProtectionStatusCommandOutput extends GetProtectionStatusRes
|
|
|
27
27
|
* import { FMSClient, GetProtectionStatusCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
28
28
|
* // const { FMSClient, GetProtectionStatusCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
29
29
|
* const client = new FMSClient(config);
|
|
30
|
+
* const input = { // GetProtectionStatusRequest
|
|
31
|
+
* PolicyId: "STRING_VALUE", // required
|
|
32
|
+
* MemberAccountId: "STRING_VALUE",
|
|
33
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
34
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* };
|
|
30
38
|
* const command = new GetProtectionStatusCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetProtocolsListCommandOutput extends GetProtocolsListResponse,
|
|
|
26
26
|
* import { FMSClient, GetProtocolsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, GetProtocolsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // GetProtocolsListRequest
|
|
30
|
+
* ListId: "STRING_VALUE", // required
|
|
31
|
+
* DefaultList: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetProtocolsListCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetResourceSetCommandOutput extends GetResourceSetResponse, __M
|
|
|
26
26
|
* import { FMSClient, GetResourceSetCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, GetResourceSetCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // GetResourceSetRequest
|
|
30
|
+
* Identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetResourceSetCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetThirdPartyFirewallAssociationStatusCommandOutput extends Get
|
|
|
26
26
|
* import { FMSClient, GetThirdPartyFirewallAssociationStatusCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, GetThirdPartyFirewallAssociationStatusCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // GetThirdPartyFirewallAssociationStatusRequest
|
|
30
|
+
* ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW" || "FORTIGATE_CLOUD_NATIVE_FIREWALL", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetThirdPartyFirewallAssociationStatusCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface GetViolationDetailsCommandOutput extends GetViolationDetailsRes
|
|
|
26
26
|
* import { FMSClient, GetViolationDetailsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, GetViolationDetailsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // GetViolationDetailsRequest
|
|
30
|
+
* PolicyId: "STRING_VALUE", // required
|
|
31
|
+
* MemberAccount: "STRING_VALUE", // required
|
|
32
|
+
* ResourceId: "STRING_VALUE", // required
|
|
33
|
+
* ResourceType: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new GetViolationDetailsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListAppsListsCommandOutput extends ListAppsListsResponse, __Met
|
|
|
26
26
|
* import { FMSClient, ListAppsListsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListAppsListsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListAppsListsRequest
|
|
30
|
+
* DefaultLists: true || false,
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"), // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListAppsListsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListComplianceStatusCommandOutput extends ListComplianceStatusR
|
|
|
28
28
|
* import { FMSClient, ListComplianceStatusCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
29
29
|
* // const { FMSClient, ListComplianceStatusCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
30
30
|
* const client = new FMSClient(config);
|
|
31
|
+
* const input = { // ListComplianceStatusRequest
|
|
32
|
+
* PolicyId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListComplianceStatusCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface ListDiscoveredResourcesCommandOutput extends ListDiscoveredReso
|
|
|
26
26
|
* import { FMSClient, ListDiscoveredResourcesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListDiscoveredResourcesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListDiscoveredResourcesRequest
|
|
30
|
+
* MemberAccountIds: [ // AWSAccountIdList // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* ResourceType: "STRING_VALUE", // required
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new ListDiscoveredResourcesCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface ListMemberAccountsCommandOutput extends ListMemberAccountsRespo
|
|
|
29
29
|
* import { FMSClient, ListMemberAccountsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
30
30
|
* // const { FMSClient, ListMemberAccountsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
31
31
|
* const client = new FMSClient(config);
|
|
32
|
+
* const input = { // ListMemberAccountsRequest
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
32
36
|
* const command = new ListMemberAccountsCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
26
26
|
* import { FMSClient, ListPoliciesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListPoliciesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListPoliciesRequest
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListPoliciesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListProtocolsListsCommandOutput extends ListProtocolsListsRespo
|
|
|
26
26
|
* import { FMSClient, ListProtocolsListsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListProtocolsListsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListProtocolsListsRequest
|
|
30
|
+
* DefaultLists: true || false,
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"), // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListProtocolsListsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListResourceSetResourcesCommandOutput extends ListResourceSetRe
|
|
|
26
26
|
* import { FMSClient, ListResourceSetResourcesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListResourceSetResourcesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListResourceSetResourcesRequest
|
|
30
|
+
* Identifier: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListResourceSetResourcesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListResourceSetsCommandOutput extends ListResourceSetsResponse,
|
|
|
26
26
|
* import { FMSClient, ListResourceSetsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListResourceSetsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListResourceSetsRequest
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListResourceSetsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { FMSClient, ListTagsForResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListThirdPartyFirewallFirewallPoliciesCommandOutput extends Lis
|
|
|
26
26
|
* import { FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // ListThirdPartyFirewallFirewallPoliciesRequest
|
|
30
|
+
* ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW" || "FORTIGATE_CLOUD_NATIVE_FIREWALL", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"), // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListThirdPartyFirewallFirewallPoliciesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,37 @@ export interface PutAppsListCommandOutput extends PutAppsListResponse, __Metadat
|
|
|
26
26
|
* import { FMSClient, PutAppsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, PutAppsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // PutAppsListRequest
|
|
30
|
+
* AppsList: { // AppsListData
|
|
31
|
+
* ListId: "STRING_VALUE",
|
|
32
|
+
* ListName: "STRING_VALUE", // required
|
|
33
|
+
* ListUpdateToken: "STRING_VALUE",
|
|
34
|
+
* CreateTime: new Date("TIMESTAMP"),
|
|
35
|
+
* LastUpdateTime: new Date("TIMESTAMP"),
|
|
36
|
+
* AppsList: [ // AppsList // required
|
|
37
|
+
* { // App
|
|
38
|
+
* AppName: "STRING_VALUE", // required
|
|
39
|
+
* Protocol: "STRING_VALUE", // required
|
|
40
|
+
* Port: Number("long"), // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* PreviousAppsList: { // PreviousAppsList
|
|
44
|
+
* "<keys>": [
|
|
45
|
+
* {
|
|
46
|
+
* AppName: "STRING_VALUE", // required
|
|
47
|
+
* Protocol: "STRING_VALUE", // required
|
|
48
|
+
* Port: Number("long"), // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* TagList: [ // TagList
|
|
54
|
+
* { // Tag
|
|
55
|
+
* Key: "STRING_VALUE", // required
|
|
56
|
+
* Value: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* };
|
|
29
60
|
* const command = new PutAppsListCommand(input);
|
|
30
61
|
* const response = await client.send(command);
|
|
31
62
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface PutNotificationChannelCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { FMSClient, PutNotificationChannelCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
31
31
|
* // const { FMSClient, PutNotificationChannelCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
32
32
|
* const client = new FMSClient(config);
|
|
33
|
+
* const input = { // PutNotificationChannelRequest
|
|
34
|
+
* SnsTopicArn: "STRING_VALUE", // required
|
|
35
|
+
* SnsRoleName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new PutNotificationChannelCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -58,6 +58,58 @@ export interface PutPolicyCommandOutput extends PutPolicyResponse, __MetadataBea
|
|
|
58
58
|
* import { FMSClient, PutPolicyCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
59
59
|
* // const { FMSClient, PutPolicyCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
60
60
|
* const client = new FMSClient(config);
|
|
61
|
+
* const input = { // PutPolicyRequest
|
|
62
|
+
* Policy: { // Policy
|
|
63
|
+
* PolicyId: "STRING_VALUE",
|
|
64
|
+
* PolicyName: "STRING_VALUE", // required
|
|
65
|
+
* PolicyUpdateToken: "STRING_VALUE",
|
|
66
|
+
* SecurityServicePolicyData: { // SecurityServicePolicyData
|
|
67
|
+
* Type: "WAF" || "WAFV2" || "SHIELD_ADVANCED" || "SECURITY_GROUPS_COMMON" || "SECURITY_GROUPS_CONTENT_AUDIT" || "SECURITY_GROUPS_USAGE_AUDIT" || "NETWORK_FIREWALL" || "DNS_FIREWALL" || "THIRD_PARTY_FIREWALL" || "IMPORT_NETWORK_FIREWALL", // required
|
|
68
|
+
* ManagedServiceData: "STRING_VALUE",
|
|
69
|
+
* PolicyOption: { // PolicyOption
|
|
70
|
+
* NetworkFirewallPolicy: { // NetworkFirewallPolicy
|
|
71
|
+
* FirewallDeploymentModel: "CENTRALIZED" || "DISTRIBUTED",
|
|
72
|
+
* },
|
|
73
|
+
* ThirdPartyFirewallPolicy: { // ThirdPartyFirewallPolicy
|
|
74
|
+
* FirewallDeploymentModel: "CENTRALIZED" || "DISTRIBUTED",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* ResourceType: "STRING_VALUE", // required
|
|
79
|
+
* ResourceTypeList: [ // ResourceTypeList
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* ResourceTags: [ // ResourceTags
|
|
83
|
+
* { // ResourceTag
|
|
84
|
+
* Key: "STRING_VALUE", // required
|
|
85
|
+
* Value: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* ExcludeResourceTags: true || false, // required
|
|
89
|
+
* RemediationEnabled: true || false, // required
|
|
90
|
+
* DeleteUnusedFMManagedResources: true || false,
|
|
91
|
+
* IncludeMap: { // CustomerPolicyScopeMap
|
|
92
|
+
* "<keys>": [ // CustomerPolicyScopeIdList
|
|
93
|
+
* "STRING_VALUE",
|
|
94
|
+
* ],
|
|
95
|
+
* },
|
|
96
|
+
* ExcludeMap: {
|
|
97
|
+
* "<keys>": [
|
|
98
|
+
* "STRING_VALUE",
|
|
99
|
+
* ],
|
|
100
|
+
* },
|
|
101
|
+
* ResourceSetIds: [ // ResourceSetIds
|
|
102
|
+
* "STRING_VALUE",
|
|
103
|
+
* ],
|
|
104
|
+
* PolicyDescription: "STRING_VALUE",
|
|
105
|
+
* },
|
|
106
|
+
* TagList: [ // TagList
|
|
107
|
+
* { // Tag
|
|
108
|
+
* Key: "STRING_VALUE", // required
|
|
109
|
+
* Value: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* };
|
|
61
113
|
* const command = new PutPolicyCommand(input);
|
|
62
114
|
* const response = await client.send(command);
|
|
63
115
|
* ```
|
|
@@ -26,6 +26,29 @@ export interface PutProtocolsListCommandOutput extends PutProtocolsListResponse,
|
|
|
26
26
|
* import { FMSClient, PutProtocolsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, PutProtocolsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // PutProtocolsListRequest
|
|
30
|
+
* ProtocolsList: { // ProtocolsListData
|
|
31
|
+
* ListId: "STRING_VALUE",
|
|
32
|
+
* ListName: "STRING_VALUE", // required
|
|
33
|
+
* ListUpdateToken: "STRING_VALUE",
|
|
34
|
+
* CreateTime: new Date("TIMESTAMP"),
|
|
35
|
+
* LastUpdateTime: new Date("TIMESTAMP"),
|
|
36
|
+
* ProtocolsList: [ // ProtocolsList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* PreviousProtocolsList: { // PreviousProtocolsList
|
|
40
|
+
* "<keys>": [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* TagList: [ // TagList
|
|
46
|
+
* { // Tag
|
|
47
|
+
* Key: "STRING_VALUE", // required
|
|
48
|
+
* Value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
29
52
|
* const command = new PutProtocolsListCommand(input);
|
|
30
53
|
* const response = await client.send(command);
|
|
31
54
|
* ```
|
|
@@ -27,6 +27,24 @@ export interface PutResourceSetCommandOutput extends PutResourceSetResponse, __M
|
|
|
27
27
|
* import { FMSClient, PutResourceSetCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
28
28
|
* // const { FMSClient, PutResourceSetCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
29
29
|
* const client = new FMSClient(config);
|
|
30
|
+
* const input = { // PutResourceSetRequest
|
|
31
|
+
* ResourceSet: { // ResourceSet
|
|
32
|
+
* Id: "STRING_VALUE",
|
|
33
|
+
* Name: "STRING_VALUE", // required
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* UpdateToken: "STRING_VALUE",
|
|
36
|
+
* ResourceTypeList: [ // ResourceTypeList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* LastUpdateTime: new Date("TIMESTAMP"),
|
|
40
|
+
* },
|
|
41
|
+
* TagList: [ // TagList
|
|
42
|
+
* { // Tag
|
|
43
|
+
* Key: "STRING_VALUE", // required
|
|
44
|
+
* Value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
30
48
|
* const command = new PutResourceSetCommand(input);
|
|
31
49
|
* const response = await client.send(command);
|
|
32
50
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { FMSClient, TagResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, TagResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagList: [ // TagList // required
|
|
32
|
+
* { // Tag
|
|
33
|
+
* Key: "STRING_VALUE", // required
|
|
34
|
+
* Value: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new TagResourceCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { FMSClient, UntagResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
27
27
|
* // const { FMSClient, UntagResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
28
28
|
* const client = new FMSClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|