@aws-sdk/client-fms 3.315.0 → 3.318.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 (60) hide show
  1. package/README.md +33 -1
  2. package/dist-cjs/FMS.js +50 -532
  3. package/dist-cjs/commands/GetAdminScopeCommand.js +45 -0
  4. package/dist-cjs/commands/ListAdminAccountsForOrganizationCommand.js +45 -0
  5. package/dist-cjs/commands/ListAdminsManagingAccountCommand.js +45 -0
  6. package/dist-cjs/commands/PutAdminAccountCommand.js +45 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoint/ruleset.js +3 -3
  9. package/dist-cjs/models/models_0.js +27 -13
  10. package/dist-cjs/pagination/ListAdminAccountsForOrganizationPaginator.js +29 -0
  11. package/dist-cjs/pagination/ListAdminsManagingAccountPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +2 -0
  13. package/dist-cjs/protocols/Aws_json1_1.js +192 -2
  14. package/dist-es/FMS.js +50 -532
  15. package/dist-es/commands/GetAdminScopeCommand.js +41 -0
  16. package/dist-es/commands/ListAdminAccountsForOrganizationCommand.js +41 -0
  17. package/dist-es/commands/ListAdminsManagingAccountCommand.js +41 -0
  18. package/dist-es/commands/PutAdminAccountCommand.js +41 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +26 -12
  22. package/dist-es/pagination/ListAdminAccountsForOrganizationPaginator.js +25 -0
  23. package/dist-es/pagination/ListAdminsManagingAccountPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_json1_1.js +182 -0
  26. package/dist-types/FMS.d.ts +79 -162
  27. package/dist-types/FMSClient.d.ts +7 -3
  28. package/dist-types/commands/AssociateAdminAccountCommand.d.ts +2 -4
  29. package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +2 -3
  30. package/dist-types/commands/GetAdminAccountCommand.d.ts +1 -1
  31. package/dist-types/commands/GetAdminScopeCommand.d.ts +80 -0
  32. package/dist-types/commands/GetComplianceDetailCommand.d.ts +4 -4
  33. package/dist-types/commands/ListAdminAccountsForOrganizationCommand.d.ts +79 -0
  34. package/dist-types/commands/ListAdminsManagingAccountCommand.d.ts +74 -0
  35. package/dist-types/commands/ListMemberAccountsCommand.d.ts +1 -2
  36. package/dist-types/commands/PutAdminAccountCommand.d.ts +112 -0
  37. package/dist-types/commands/PutNotificationChannelCommand.d.ts +2 -3
  38. package/dist-types/commands/PutPolicyCommand.d.ts +1 -0
  39. package/dist-types/commands/PutResourceSetCommand.d.ts +1 -0
  40. package/dist-types/commands/index.d.ts +4 -0
  41. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  42. package/dist-types/models/models_0.d.ts +436 -59
  43. package/dist-types/pagination/ListAdminAccountsForOrganizationPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListAdminsManagingAccountPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  47. package/dist-types/ts3.4/FMS.d.ts +70 -1
  48. package/dist-types/ts3.4/FMSClient.d.ts +24 -0
  49. package/dist-types/ts3.4/commands/GetAdminScopeCommand.d.ts +37 -0
  50. package/dist-types/ts3.4/commands/ListAdminAccountsForOrganizationCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/ListAdminsManagingAccountCommand.d.ts +41 -0
  52. package/dist-types/ts3.4/commands/PutAdminAccountCommand.d.ts +32 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  54. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  55. package/dist-types/ts3.4/models/models_0.d.ts +94 -14
  56. package/dist-types/ts3.4/pagination/ListAdminAccountsForOrganizationPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/ListAdminsManagingAccountPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  60. package/package.json +6 -6
@@ -0,0 +1,80 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
5
+ import { GetAdminScopeRequest, GetAdminScopeResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetAdminScopeCommand}.
10
+ */
11
+ export interface GetAdminScopeCommandInput extends GetAdminScopeRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetAdminScopeCommand}.
17
+ */
18
+ export interface GetAdminScopeCommandOutput extends GetAdminScopeResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns information about the specified account's administrative scope. The admistrative scope defines the resources that an Firewall Manager administrator can manage.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { FMSClient, GetAdminScopeCommand } from "@aws-sdk/client-fms"; // ES Modules import
27
+ * // const { FMSClient, GetAdminScopeCommand } = require("@aws-sdk/client-fms"); // CommonJS import
28
+ * const client = new FMSClient(config);
29
+ * const input = { // GetAdminScopeRequest
30
+ * AdminAccount: "STRING_VALUE", // required
31
+ * };
32
+ * const command = new GetAdminScopeCommand(input);
33
+ * const response = await client.send(command);
34
+ * ```
35
+ *
36
+ * @param GetAdminScopeCommandInput - {@link GetAdminScopeCommandInput}
37
+ * @returns {@link GetAdminScopeCommandOutput}
38
+ * @see {@link GetAdminScopeCommandInput} for command's `input` shape.
39
+ * @see {@link GetAdminScopeCommandOutput} for command's `response` shape.
40
+ * @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
41
+ *
42
+ * @throws {@link InternalErrorException} (client fault)
43
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry
44
+ * your request.</p>
45
+ *
46
+ * @throws {@link InvalidInputException} (client fault)
47
+ * <p>The parameters of the request were invalid.</p>
48
+ *
49
+ * @throws {@link InvalidOperationException} (client fault)
50
+ * <p>The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have
51
+ * submitted an <code>AssociateAdminAccount</code> request for an account ID that
52
+ * was already set as the Firewall Manager administrator. Or you might have tried to access a Region
53
+ * that's disabled by default, and that you need to enable for the Firewall Manager
54
+ * administrator account and for Organizations before you can access it.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The specified resource was not found.</p>
58
+ *
59
+ *
60
+ */
61
+ export declare class GetAdminScopeCommand extends $Command<GetAdminScopeCommandInput, GetAdminScopeCommandOutput, FMSClientResolvedConfig> {
62
+ readonly input: GetAdminScopeCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: GetAdminScopeCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAdminScopeCommandInput, GetAdminScopeCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -23,23 +23,23 @@ export interface GetComplianceDetailCommandOutput extends GetComplianceDetailRes
23
23
  * include resources that are in and out of compliance with the specified policy. </p>
24
24
  * <ul>
25
25
  * <li>
26
- * <p>Resources are
26
+ * <p>Resources are
27
27
  * considered noncompliant for WAF and Shield Advanced policies if the specified policy has
28
28
  * not been applied to them.</p>
29
29
  * </li>
30
30
  * <li>
31
- * <p>Resources are considered noncompliant for security group policies if
31
+ * <p>Resources are considered noncompliant for security group policies if
32
32
  * they are in scope of the policy, they violate one or more of the policy rules, and remediation
33
33
  * is disabled or not possible.</p>
34
34
  * </li>
35
35
  * <li>
36
- * <p>Resources are considered noncompliant for Network Firewall policies
36
+ * <p>Resources are considered noncompliant for Network Firewall policies
37
37
  * if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet,
38
38
  * if a subnet created by the Firewall Manager doesn't have the expected route table,
39
39
  * and for modifications to a firewall policy that violate the Firewall Manager policy's rules.</p>
40
40
  * </li>
41
41
  * <li>
42
- * <p>Resources are considered noncompliant for DNS Firewall policies
42
+ * <p>Resources are considered noncompliant for DNS Firewall policies
43
43
  * if a DNS Firewall rule group is missing from the rule group associations for the VPC. </p>
44
44
  * </li>
45
45
  * </ul>
@@ -0,0 +1,79 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
5
+ import { ListAdminAccountsForOrganizationRequest, ListAdminAccountsForOrganizationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListAdminAccountsForOrganizationCommand}.
10
+ */
11
+ export interface ListAdminAccountsForOrganizationCommandInput extends ListAdminAccountsForOrganizationRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListAdminAccountsForOrganizationCommand}.
17
+ */
18
+ export interface ListAdminAccountsForOrganizationCommandOutput extends ListAdminAccountsForOrganizationResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns a <code>AdminAccounts</code> object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by <a>AssociateAdminAccount</a>.</p>
23
+ * <p>This operation can be called only from the organization's management account.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { FMSClient, ListAdminAccountsForOrganizationCommand } from "@aws-sdk/client-fms"; // ES Modules import
28
+ * // const { FMSClient, ListAdminAccountsForOrganizationCommand } = require("@aws-sdk/client-fms"); // CommonJS import
29
+ * const client = new FMSClient(config);
30
+ * const input = { // ListAdminAccountsForOrganizationRequest
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
34
+ * const command = new ListAdminAccountsForOrganizationCommand(input);
35
+ * const response = await client.send(command);
36
+ * ```
37
+ *
38
+ * @param ListAdminAccountsForOrganizationCommandInput - {@link ListAdminAccountsForOrganizationCommandInput}
39
+ * @returns {@link ListAdminAccountsForOrganizationCommandOutput}
40
+ * @see {@link ListAdminAccountsForOrganizationCommandInput} for command's `input` shape.
41
+ * @see {@link ListAdminAccountsForOrganizationCommandOutput} for command's `response` shape.
42
+ * @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
43
+ *
44
+ * @throws {@link InternalErrorException} (client fault)
45
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry
46
+ * your request.</p>
47
+ *
48
+ * @throws {@link InvalidOperationException} (client fault)
49
+ * <p>The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have
50
+ * submitted an <code>AssociateAdminAccount</code> request for an account ID that
51
+ * was already set as the Firewall Manager administrator. Or you might have tried to access a Region
52
+ * that's disabled by default, and that you need to enable for the Firewall Manager
53
+ * administrator account and for Organizations before you can access it.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The specified resource was not found.</p>
57
+ *
58
+ *
59
+ */
60
+ export declare class ListAdminAccountsForOrganizationCommand extends $Command<ListAdminAccountsForOrganizationCommandInput, ListAdminAccountsForOrganizationCommandOutput, FMSClientResolvedConfig> {
61
+ readonly input: ListAdminAccountsForOrganizationCommandInput;
62
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
66
+ constructor(input: ListAdminAccountsForOrganizationCommandInput);
67
+ /**
68
+ * @internal
69
+ */
70
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAdminAccountsForOrganizationCommandInput, ListAdminAccountsForOrganizationCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
74
+ private serialize;
75
+ /**
76
+ * @internal
77
+ */
78
+ private deserialize;
79
+ }
@@ -0,0 +1,74 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
5
+ import { ListAdminsManagingAccountRequest, ListAdminsManagingAccountResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListAdminsManagingAccountCommand}.
10
+ */
11
+ export interface ListAdminsManagingAccountCommandInput extends ListAdminsManagingAccountRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListAdminsManagingAccountCommand}.
17
+ */
18
+ export interface ListAdminsManagingAccountCommandOutput extends ListAdminsManagingAccountResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their <a>AdminScope</a>.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { FMSClient, ListAdminsManagingAccountCommand } from "@aws-sdk/client-fms"; // ES Modules import
27
+ * // const { FMSClient, ListAdminsManagingAccountCommand } = require("@aws-sdk/client-fms"); // CommonJS import
28
+ * const client = new FMSClient(config);
29
+ * const input = { // ListAdminsManagingAccountRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * };
33
+ * const command = new ListAdminsManagingAccountCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param ListAdminsManagingAccountCommandInput - {@link ListAdminsManagingAccountCommandInput}
38
+ * @returns {@link ListAdminsManagingAccountCommandOutput}
39
+ * @see {@link ListAdminsManagingAccountCommandInput} for command's `input` shape.
40
+ * @see {@link ListAdminsManagingAccountCommandOutput} for command's `response` shape.
41
+ * @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
42
+ *
43
+ * @throws {@link InternalErrorException} (client fault)
44
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry
45
+ * your request.</p>
46
+ *
47
+ * @throws {@link InvalidInputException} (client fault)
48
+ * <p>The parameters of the request were invalid.</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>The specified resource was not found.</p>
52
+ *
53
+ *
54
+ */
55
+ export declare class ListAdminsManagingAccountCommand extends $Command<ListAdminsManagingAccountCommandInput, ListAdminsManagingAccountCommandOutput, FMSClientResolvedConfig> {
56
+ readonly input: ListAdminsManagingAccountCommandInput;
57
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
+ /**
59
+ * @public
60
+ */
61
+ constructor(input: ListAdminsManagingAccountCommandInput);
62
+ /**
63
+ * @internal
64
+ */
65
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAdminsManagingAccountCommandInput, ListAdminsManagingAccountCommandOutput>;
66
+ /**
67
+ * @internal
68
+ */
69
+ private serialize;
70
+ /**
71
+ * @internal
72
+ */
73
+ private deserialize;
74
+ }
@@ -21,8 +21,7 @@ export interface ListMemberAccountsCommandOutput extends ListMemberAccountsRespo
21
21
  * @public
22
22
  * <p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the
23
23
  * administrator's Amazon Web Services organization.</p>
24
- * <p>The <code>ListMemberAccounts</code> must be submitted by the account that is set as the
25
- * Firewall Manager administrator.</p>
24
+ * <p>Either an Firewall Manager administrator or the organization's management account can make this request.</p>
26
25
  * @example
27
26
  * Use a bare-bones client and the command you need to make an API call.
28
27
  * ```javascript
@@ -0,0 +1,112 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
5
+ import { PutAdminAccountRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link PutAdminAccountCommand}.
10
+ */
11
+ export interface PutAdminAccountCommandInput extends PutAdminAccountRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link PutAdminAccountCommand}.
17
+ */
18
+ export interface PutAdminAccountCommandOutput extends __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by <a>AssociateAdminAccount</a>. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see
23
+ * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html">Managing the Amazon Web Services Accounts in Your Organization</a>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { FMSClient, PutAdminAccountCommand } from "@aws-sdk/client-fms"; // ES Modules import
28
+ * // const { FMSClient, PutAdminAccountCommand } = require("@aws-sdk/client-fms"); // CommonJS import
29
+ * const client = new FMSClient(config);
30
+ * const input = { // PutAdminAccountRequest
31
+ * AdminAccount: "STRING_VALUE", // required
32
+ * AdminScope: { // AdminScope
33
+ * AccountScope: { // AccountScope
34
+ * Accounts: [ // AccountIdList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * AllAccountsEnabled: true || false,
38
+ * ExcludeSpecifiedAccounts: true || false,
39
+ * },
40
+ * OrganizationalUnitScope: { // OrganizationalUnitScope
41
+ * OrganizationalUnits: [ // OrganizationalUnitIdList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * AllOrganizationalUnitsEnabled: true || false,
45
+ * ExcludeSpecifiedOrganizationalUnits: true || false,
46
+ * },
47
+ * RegionScope: { // RegionScope
48
+ * Regions: [ // AWSRegionList
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * AllRegionsEnabled: true || false,
52
+ * },
53
+ * PolicyTypeScope: { // PolicyTypeScope
54
+ * PolicyTypes: [ // SecurityServiceTypeList
55
+ * "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",
56
+ * ],
57
+ * AllPolicyTypesEnabled: true || false,
58
+ * },
59
+ * },
60
+ * };
61
+ * const command = new PutAdminAccountCommand(input);
62
+ * const response = await client.send(command);
63
+ * ```
64
+ *
65
+ * @param PutAdminAccountCommandInput - {@link PutAdminAccountCommandInput}
66
+ * @returns {@link PutAdminAccountCommandOutput}
67
+ * @see {@link PutAdminAccountCommandInput} for command's `input` shape.
68
+ * @see {@link PutAdminAccountCommandOutput} for command's `response` shape.
69
+ * @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
70
+ *
71
+ * @throws {@link InternalErrorException} (client fault)
72
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry
73
+ * your request.</p>
74
+ *
75
+ * @throws {@link InvalidInputException} (client fault)
76
+ * <p>The parameters of the request were invalid.</p>
77
+ *
78
+ * @throws {@link InvalidOperationException} (client fault)
79
+ * <p>The operation failed because there was nothing to do or the operation wasn't possible. For example, you might have
80
+ * submitted an <code>AssociateAdminAccount</code> request for an account ID that
81
+ * was already set as the Firewall Manager administrator. Or you might have tried to access a Region
82
+ * that's disabled by default, and that you need to enable for the Firewall Manager
83
+ * administrator account and for Organizations before you can access it.</p>
84
+ *
85
+ * @throws {@link LimitExceededException} (client fault)
86
+ * <p>The operation exceeds a resource limit, for example, the maximum number of
87
+ * <code>policy</code> objects that you can create for an Amazon Web Services account. For more information,
88
+ * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html">Firewall
89
+ * Manager Limits</a> in the <i>WAF Developer Guide</i>.</p>
90
+ *
91
+ *
92
+ */
93
+ export declare class PutAdminAccountCommand extends $Command<PutAdminAccountCommandInput, PutAdminAccountCommandOutput, FMSClientResolvedConfig> {
94
+ readonly input: PutAdminAccountCommandInput;
95
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
+ /**
97
+ * @public
98
+ */
99
+ constructor(input: PutAdminAccountCommandInput);
100
+ /**
101
+ * @internal
102
+ */
103
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAdminAccountCommandInput, PutAdminAccountCommandOutput>;
104
+ /**
105
+ * @internal
106
+ */
107
+ private serialize;
108
+ /**
109
+ * @internal
110
+ */
111
+ private deserialize;
112
+ }
@@ -21,9 +21,8 @@ export interface PutNotificationChannelCommandOutput extends __MetadataBearer {
21
21
  * @public
22
22
  * <p>Designates the IAM role and Amazon Simple Notification Service (SNS) topic that
23
23
  * Firewall Manager uses to record SNS logs.</p>
24
- * <p>To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager
25
- * role <code>AWSServiceRoleForFMS</code> to publish SNS logs. For more information, see
26
- * <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>
24
+ * <p>To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the <code>SnsRoleName</code> to publish SNS logs. If the <code>SnsRoleName</code> provided is a role other than the <code>AWSServiceRoleForFMS</code> service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principal <code>fms.amazonaws.com</code> to assume this role. For information about configuring an SNS access policy, see
25
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-security_iam_service-with-iam.html#fms-security_iam_service-with-iam-roles-service">Service roles for Firewall Manager</a> in the <i>Firewall Manager Developer Guide</i>.</p>
27
26
  * @example
28
27
  * Use a bare-bones client and the command you need to make an API call.
29
28
  * ```javascript
@@ -102,6 +102,7 @@ export interface PutPolicyCommandOutput extends PutPolicyResponse, __MetadataBea
102
102
  * "STRING_VALUE",
103
103
  * ],
104
104
  * PolicyDescription: "STRING_VALUE",
105
+ * PolicyStatus: "ACTIVE" || "OUT_OF_ADMIN_SCOPE",
105
106
  * },
106
107
  * TagList: [ // TagList
107
108
  * { // Tag
@@ -37,6 +37,7 @@ export interface PutResourceSetCommandOutput extends PutResourceSetResponse, __M
37
37
  * "STRING_VALUE",
38
38
  * ],
39
39
  * LastUpdateTime: new Date("TIMESTAMP"),
40
+ * ResourceSetStatus: "ACTIVE" || "OUT_OF_ADMIN_SCOPE",
40
41
  * },
41
42
  * TagList: [ // TagList
42
43
  * { // Tag
@@ -10,6 +10,7 @@ export * from "./DeleteResourceSetCommand";
10
10
  export * from "./DisassociateAdminAccountCommand";
11
11
  export * from "./DisassociateThirdPartyFirewallCommand";
12
12
  export * from "./GetAdminAccountCommand";
13
+ export * from "./GetAdminScopeCommand";
13
14
  export * from "./GetAppsListCommand";
14
15
  export * from "./GetComplianceDetailCommand";
15
16
  export * from "./GetNotificationChannelCommand";
@@ -19,6 +20,8 @@ export * from "./GetProtocolsListCommand";
19
20
  export * from "./GetResourceSetCommand";
20
21
  export * from "./GetThirdPartyFirewallAssociationStatusCommand";
21
22
  export * from "./GetViolationDetailsCommand";
23
+ export * from "./ListAdminAccountsForOrganizationCommand";
24
+ export * from "./ListAdminsManagingAccountCommand";
22
25
  export * from "./ListAppsListsCommand";
23
26
  export * from "./ListComplianceStatusCommand";
24
27
  export * from "./ListDiscoveredResourcesCommand";
@@ -29,6 +32,7 @@ export * from "./ListResourceSetResourcesCommand";
29
32
  export * from "./ListResourceSetsCommand";
30
33
  export * from "./ListTagsForResourceCommand";
31
34
  export * from "./ListThirdPartyFirewallFirewallPoliciesCommand";
35
+ export * from "./PutAdminAccountCommand";
32
36
  export * from "./PutAppsListCommand";
33
37
  export * from "./PutNotificationChannelCommand";
34
38
  export * from "./PutPolicyCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;