@aws-sdk/client-fms 3.58.0 → 3.72.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +8 -8
  3. package/dist-cjs/FMS.js +60 -0
  4. package/dist-cjs/commands/AssociateThirdPartyFirewallCommand.js +36 -0
  5. package/dist-cjs/commands/DisassociateThirdPartyFirewallCommand.js +36 -0
  6. package/dist-cjs/commands/GetThirdPartyFirewallAssociationStatusCommand.js +36 -0
  7. package/dist-cjs/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/models/models_0.js +108 -3
  10. package/dist-cjs/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +35 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +356 -2
  13. package/dist-es/FMS.js +60 -0
  14. package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +39 -0
  15. package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +39 -0
  16. package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +39 -0
  17. package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +39 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/models/models_0.js +77 -0
  20. package/dist-es/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +74 -0
  21. package/dist-es/pagination/index.js +1 -0
  22. package/dist-es/protocols/Aws_json1_1.js +414 -1
  23. package/dist-types/FMS.d.ts +84 -59
  24. package/dist-types/FMSClient.d.ts +12 -8
  25. package/dist-types/commands/AssociateAdminAccountCommand.d.ts +4 -5
  26. package/dist-types/commands/AssociateThirdPartyFirewallCommand.d.ts +35 -0
  27. package/dist-types/commands/DeleteNotificationChannelCommand.d.ts +2 -2
  28. package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +3 -3
  29. package/dist-types/commands/DisassociateThirdPartyFirewallCommand.d.ts +35 -0
  30. package/dist-types/commands/GetAdminAccountCommand.d.ts +2 -2
  31. package/dist-types/commands/GetComplianceDetailCommand.d.ts +13 -13
  32. package/dist-types/commands/GetNotificationChannelCommand.d.ts +2 -2
  33. package/dist-types/commands/GetProtectionStatusCommand.d.ts +1 -2
  34. package/dist-types/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +35 -0
  35. package/dist-types/commands/GetViolationDetailsCommand.d.ts +1 -2
  36. package/dist-types/commands/ListComplianceStatusCommand.d.ts +2 -2
  37. package/dist-types/commands/ListMemberAccountsCommand.d.ts +2 -2
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +35 -0
  40. package/dist-types/commands/PutNotificationChannelCommand.d.ts +5 -6
  41. package/dist-types/commands/PutPolicyCommand.d.ts +12 -11
  42. package/dist-types/commands/index.d.ts +4 -0
  43. package/dist-types/models/models_0.d.ts +808 -518
  44. package/dist-types/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  47. package/dist-types/ts3.4/FMS.d.ts +20 -0
  48. package/dist-types/ts3.4/FMSClient.d.ts +6 -2
  49. package/dist-types/ts3.4/commands/AssociateThirdPartyFirewallCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DisassociateThirdPartyFirewallCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +183 -1
  55. package/dist-types/ts3.4/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  57. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  58. package/package.json +6 -6
@@ -8,8 +8,8 @@ export interface ListComplianceStatusCommandOutput extends ListComplianceStatusR
8
8
  }
9
9
  /**
10
10
  * <p>Returns an array of <code>PolicyComplianceStatus</code> objects. Use
11
- * <code>PolicyComplianceStatus</code> to get a summary of which member accounts are
12
- * protected by the specified policy. </p>
11
+ * <code>PolicyComplianceStatus</code> to get a summary of which member accounts are protected
12
+ * by the specified policy. </p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -8,9 +8,9 @@ export interface ListMemberAccountsCommandOutput extends ListMemberAccountsRespo
8
8
  }
9
9
  /**
10
10
  * <p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the
11
- * administrator's Amazon Web Services organization.</p>
11
+ * administrator's Amazon Web Services organization.</p>
12
12
  * <p>The <code>ListMemberAccounts</code> must be submitted by the account that is set as the
13
- * Firewall Manager administrator.</p>
13
+ * Firewall Manager administrator.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Retrieves the list of tags for the specified Amazon Web Services resource. </p>
10
+ * <p>Retrieves the list of tags for the specified Amazon Web Services resource. </p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
4
+ import { ListThirdPartyFirewallFirewallPoliciesRequest, ListThirdPartyFirewallFirewallPoliciesResponse } from "../models/models_0";
5
+ export interface ListThirdPartyFirewallFirewallPoliciesCommandInput extends ListThirdPartyFirewallFirewallPoliciesRequest {
6
+ }
7
+ export interface ListThirdPartyFirewallFirewallPoliciesCommandOutput extends ListThirdPartyFirewallFirewallPoliciesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand } from "@aws-sdk/client-fms"; // ES Modules import
15
+ * // const { FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
16
+ * const client = new FMSClient(config);
17
+ * const command = new ListThirdPartyFirewallFirewallPoliciesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListThirdPartyFirewallFirewallPoliciesCommandInput} for command's `input` shape.
22
+ * @see {@link ListThirdPartyFirewallFirewallPoliciesCommandOutput} for command's `response` shape.
23
+ * @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListThirdPartyFirewallFirewallPoliciesCommand extends $Command<ListThirdPartyFirewallFirewallPoliciesCommandInput, ListThirdPartyFirewallFirewallPoliciesCommandOutput, FMSClientResolvedConfig> {
27
+ readonly input: ListThirdPartyFirewallFirewallPoliciesCommandInput;
28
+ constructor(input: ListThirdPartyFirewallFirewallPoliciesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListThirdPartyFirewallFirewallPoliciesCommandInput, ListThirdPartyFirewallFirewallPoliciesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,12 +7,11 @@ export interface PutNotificationChannelCommandInput extends PutNotificationChann
7
7
  export interface PutNotificationChannelCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager
11
- * uses to record SNS logs.</p>
12
- * <p>To perform this action outside of the console, you must configure the SNS topic to allow
13
- * the Firewall Manager role <code>AWSServiceRoleForFMS</code> to publish SNS logs. For more information,
14
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions
15
- * for API actions</a> in the <i>Firewall Manager Developer Guide</i>.</p>
10
+ * <p>Designates the IAM role and Amazon Simple Notification Service (SNS) topic that
11
+ * Firewall Manager uses to record SNS logs.</p>
12
+ * <p>To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager
13
+ * role <code>AWSServiceRoleForFMS</code> to publish SNS logs. For more information, see
14
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions for API actions</a> in the <i>Firewall Manager Developer Guide</i>.</p>
16
15
  * @example
17
16
  * Use a bare-bones client and the command you need to make an API call.
18
17
  * ```javascript
@@ -12,33 +12,34 @@ export interface PutPolicyCommandOutput extends PutPolicyResponse, __MetadataBea
12
12
  * <ul>
13
13
  * <li>
14
14
  * <p>An WAF policy (type WAFV2), which defines rule groups to run first in the
15
- * corresponding WAF web ACL and rule groups to run last in the web ACL.</p>
15
+ * corresponding WAF web ACL and rule groups to run last in the web ACL.</p>
16
16
  * </li>
17
17
  * <li>
18
18
  * <p>An WAF Classic policy (type WAF), which defines a rule group. </p>
19
19
  * </li>
20
20
  * <li>
21
21
  * <p>A Shield Advanced policy, which applies Shield Advanced protection to specified
22
- * accounts and resources.</p>
22
+ * accounts and resources.</p>
23
23
  * </li>
24
24
  * <li>
25
25
  * <p>A security group policy, which manages VPC security groups across your Amazon Web Services
26
- * organization. </p>
26
+ * organization. </p>
27
27
  * </li>
28
28
  * <li>
29
- * <p>An Network Firewall policy, which provides firewall rules to filter network traffic in
30
- * specified Amazon VPCs.</p>
29
+ * <p>An Network Firewall policy, which provides firewall rules to filter network traffic in specified
30
+ * Amazon VPCs.</p>
31
31
  * </li>
32
32
  * <li>
33
- * <p>A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS
34
- * queries for specified VPCs.</p>
33
+ * <p>A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for
34
+ * specified VPCs.</p>
35
35
  * </li>
36
36
  * </ul>
37
- * <p>Each policy is specific to one of the types. If you want to enforce more than one policy
38
- * type across accounts, create multiple policies. You can create multiple policies for each
39
- * type.</p>
37
+ * <p>Each policy is specific to one of the types. If you want to enforce more than one
38
+ * policy type across accounts, create multiple policies. You can create multiple
39
+ * policies for each type.</p>
40
40
  * <p>You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more
41
- * information about subscribing to Shield Advanced, see <a href="https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html">CreateSubscription</a>.</p>
41
+ * information about subscribing to Shield Advanced, see
42
+ * <a href="https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html">CreateSubscription</a>.</p>
42
43
  * @example
43
44
  * Use a bare-bones client and the command you need to make an API call.
44
45
  * ```javascript
@@ -1,9 +1,11 @@
1
1
  export * from "./AssociateAdminAccountCommand";
2
+ export * from "./AssociateThirdPartyFirewallCommand";
2
3
  export * from "./DeleteAppsListCommand";
3
4
  export * from "./DeleteNotificationChannelCommand";
4
5
  export * from "./DeletePolicyCommand";
5
6
  export * from "./DeleteProtocolsListCommand";
6
7
  export * from "./DisassociateAdminAccountCommand";
8
+ export * from "./DisassociateThirdPartyFirewallCommand";
7
9
  export * from "./GetAdminAccountCommand";
8
10
  export * from "./GetAppsListCommand";
9
11
  export * from "./GetComplianceDetailCommand";
@@ -11,6 +13,7 @@ export * from "./GetNotificationChannelCommand";
11
13
  export * from "./GetPolicyCommand";
12
14
  export * from "./GetProtectionStatusCommand";
13
15
  export * from "./GetProtocolsListCommand";
16
+ export * from "./GetThirdPartyFirewallAssociationStatusCommand";
14
17
  export * from "./GetViolationDetailsCommand";
15
18
  export * from "./ListAppsListsCommand";
16
19
  export * from "./ListComplianceStatusCommand";
@@ -18,6 +21,7 @@ export * from "./ListMemberAccountsCommand";
18
21
  export * from "./ListPoliciesCommand";
19
22
  export * from "./ListProtocolsListsCommand";
20
23
  export * from "./ListTagsForResourceCommand";
24
+ export * from "./ListThirdPartyFirewallFirewallPoliciesCommand";
21
25
  export * from "./PutAppsListCommand";
22
26
  export * from "./PutNotificationChannelCommand";
23
27
  export * from "./PutPolicyCommand";