@aws-sdk/client-fms 3.316.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.
- package/README.md +33 -1
- package/dist-cjs/FMS.js +8 -0
- package/dist-cjs/commands/GetAdminScopeCommand.js +45 -0
- package/dist-cjs/commands/ListAdminAccountsForOrganizationCommand.js +45 -0
- package/dist-cjs/commands/ListAdminsManagingAccountCommand.js +45 -0
- package/dist-cjs/commands/PutAdminAccountCommand.js +45 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +27 -13
- package/dist-cjs/pagination/ListAdminAccountsForOrganizationPaginator.js +29 -0
- package/dist-cjs/pagination/ListAdminsManagingAccountPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +192 -2
- package/dist-es/FMS.js +8 -0
- package/dist-es/commands/GetAdminScopeCommand.js +41 -0
- package/dist-es/commands/ListAdminAccountsForOrganizationCommand.js +41 -0
- package/dist-es/commands/ListAdminsManagingAccountCommand.js +41 -0
- package/dist-es/commands/PutAdminAccountCommand.js +41 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +26 -12
- package/dist-es/pagination/ListAdminAccountsForOrganizationPaginator.js +25 -0
- package/dist-es/pagination/ListAdminsManagingAccountPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +182 -0
- package/dist-types/FMS.d.ts +29 -1
- package/dist-types/FMSClient.d.ts +7 -3
- package/dist-types/commands/AssociateAdminAccountCommand.d.ts +2 -4
- package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +2 -3
- package/dist-types/commands/GetAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetAdminScopeCommand.d.ts +80 -0
- package/dist-types/commands/GetComplianceDetailCommand.d.ts +4 -4
- package/dist-types/commands/ListAdminAccountsForOrganizationCommand.d.ts +79 -0
- package/dist-types/commands/ListAdminsManagingAccountCommand.d.ts +74 -0
- package/dist-types/commands/ListMemberAccountsCommand.d.ts +1 -2
- package/dist-types/commands/PutAdminAccountCommand.d.ts +112 -0
- package/dist-types/commands/PutNotificationChannelCommand.d.ts +2 -3
- package/dist-types/commands/PutPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutResourceSetCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +436 -59
- package/dist-types/pagination/ListAdminAccountsForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAdminsManagingAccountPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/FMS.d.ts +68 -0
- package/dist-types/ts3.4/FMSClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetAdminScopeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListAdminAccountsForOrganizationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAdminsManagingAccountCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutAdminAccountCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +94 -14
- package/dist-types/ts3.4/pagination/ListAdminAccountsForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAdminsManagingAccountPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +1 -1
|
@@ -74,6 +74,12 @@ export const se_GetAdminAccountCommand = async (input, context) => {
|
|
|
74
74
|
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
+
export const se_GetAdminScopeCommand = async (input, context) => {
|
|
78
|
+
const headers = sharedHeaders("GetAdminScope");
|
|
79
|
+
let body;
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
|
+
};
|
|
77
83
|
export const se_GetAppsListCommand = async (input, context) => {
|
|
78
84
|
const headers = sharedHeaders("GetAppsList");
|
|
79
85
|
let body;
|
|
@@ -128,6 +134,18 @@ export const se_GetViolationDetailsCommand = async (input, context) => {
|
|
|
128
134
|
body = JSON.stringify(_json(input));
|
|
129
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
136
|
};
|
|
137
|
+
export const se_ListAdminAccountsForOrganizationCommand = async (input, context) => {
|
|
138
|
+
const headers = sharedHeaders("ListAdminAccountsForOrganization");
|
|
139
|
+
let body;
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
|
+
};
|
|
143
|
+
export const se_ListAdminsManagingAccountCommand = async (input, context) => {
|
|
144
|
+
const headers = sharedHeaders("ListAdminsManagingAccount");
|
|
145
|
+
let body;
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
|
+
};
|
|
131
149
|
export const se_ListAppsListsCommand = async (input, context) => {
|
|
132
150
|
const headers = sharedHeaders("ListAppsLists");
|
|
133
151
|
let body;
|
|
@@ -188,6 +206,12 @@ export const se_ListThirdPartyFirewallFirewallPoliciesCommand = async (input, co
|
|
|
188
206
|
body = JSON.stringify(_json(input));
|
|
189
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
208
|
};
|
|
209
|
+
export const se_PutAdminAccountCommand = async (input, context) => {
|
|
210
|
+
const headers = sharedHeaders("PutAdminAccount");
|
|
211
|
+
let body;
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
|
+
};
|
|
191
215
|
export const se_PutAppsListCommand = async (input, context) => {
|
|
192
216
|
const headers = sharedHeaders("PutAppsList");
|
|
193
217
|
let body;
|
|
@@ -695,6 +719,47 @@ const de_GetAdminAccountCommandError = async (output, context) => {
|
|
|
695
719
|
});
|
|
696
720
|
}
|
|
697
721
|
};
|
|
722
|
+
export const de_GetAdminScopeCommand = async (output, context) => {
|
|
723
|
+
if (output.statusCode >= 300) {
|
|
724
|
+
return de_GetAdminScopeCommandError(output, context);
|
|
725
|
+
}
|
|
726
|
+
const data = await parseBody(output.body, context);
|
|
727
|
+
let contents = {};
|
|
728
|
+
contents = _json(data);
|
|
729
|
+
const response = {
|
|
730
|
+
$metadata: deserializeMetadata(output),
|
|
731
|
+
...contents,
|
|
732
|
+
};
|
|
733
|
+
return response;
|
|
734
|
+
};
|
|
735
|
+
const de_GetAdminScopeCommandError = async (output, context) => {
|
|
736
|
+
const parsedOutput = {
|
|
737
|
+
...output,
|
|
738
|
+
body: await parseErrorBody(output.body, context),
|
|
739
|
+
};
|
|
740
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
741
|
+
switch (errorCode) {
|
|
742
|
+
case "InternalErrorException":
|
|
743
|
+
case "com.amazonaws.fms#InternalErrorException":
|
|
744
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
745
|
+
case "InvalidInputException":
|
|
746
|
+
case "com.amazonaws.fms#InvalidInputException":
|
|
747
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
748
|
+
case "InvalidOperationException":
|
|
749
|
+
case "com.amazonaws.fms#InvalidOperationException":
|
|
750
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
751
|
+
case "ResourceNotFoundException":
|
|
752
|
+
case "com.amazonaws.fms#ResourceNotFoundException":
|
|
753
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
754
|
+
default:
|
|
755
|
+
const parsedBody = parsedOutput.body;
|
|
756
|
+
return throwDefaultError({
|
|
757
|
+
output,
|
|
758
|
+
parsedBody,
|
|
759
|
+
errorCode,
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
};
|
|
698
763
|
export const de_GetAppsListCommand = async (output, context) => {
|
|
699
764
|
if (output.statusCode >= 300) {
|
|
700
765
|
return de_GetAppsListCommandError(output, context);
|
|
@@ -1049,6 +1114,82 @@ const de_GetViolationDetailsCommandError = async (output, context) => {
|
|
|
1049
1114
|
});
|
|
1050
1115
|
}
|
|
1051
1116
|
};
|
|
1117
|
+
export const de_ListAdminAccountsForOrganizationCommand = async (output, context) => {
|
|
1118
|
+
if (output.statusCode >= 300) {
|
|
1119
|
+
return de_ListAdminAccountsForOrganizationCommandError(output, context);
|
|
1120
|
+
}
|
|
1121
|
+
const data = await parseBody(output.body, context);
|
|
1122
|
+
let contents = {};
|
|
1123
|
+
contents = _json(data);
|
|
1124
|
+
const response = {
|
|
1125
|
+
$metadata: deserializeMetadata(output),
|
|
1126
|
+
...contents,
|
|
1127
|
+
};
|
|
1128
|
+
return response;
|
|
1129
|
+
};
|
|
1130
|
+
const de_ListAdminAccountsForOrganizationCommandError = async (output, context) => {
|
|
1131
|
+
const parsedOutput = {
|
|
1132
|
+
...output,
|
|
1133
|
+
body: await parseErrorBody(output.body, context),
|
|
1134
|
+
};
|
|
1135
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1136
|
+
switch (errorCode) {
|
|
1137
|
+
case "InternalErrorException":
|
|
1138
|
+
case "com.amazonaws.fms#InternalErrorException":
|
|
1139
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1140
|
+
case "InvalidOperationException":
|
|
1141
|
+
case "com.amazonaws.fms#InvalidOperationException":
|
|
1142
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1143
|
+
case "ResourceNotFoundException":
|
|
1144
|
+
case "com.amazonaws.fms#ResourceNotFoundException":
|
|
1145
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1146
|
+
default:
|
|
1147
|
+
const parsedBody = parsedOutput.body;
|
|
1148
|
+
return throwDefaultError({
|
|
1149
|
+
output,
|
|
1150
|
+
parsedBody,
|
|
1151
|
+
errorCode,
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
};
|
|
1155
|
+
export const de_ListAdminsManagingAccountCommand = async (output, context) => {
|
|
1156
|
+
if (output.statusCode >= 300) {
|
|
1157
|
+
return de_ListAdminsManagingAccountCommandError(output, context);
|
|
1158
|
+
}
|
|
1159
|
+
const data = await parseBody(output.body, context);
|
|
1160
|
+
let contents = {};
|
|
1161
|
+
contents = _json(data);
|
|
1162
|
+
const response = {
|
|
1163
|
+
$metadata: deserializeMetadata(output),
|
|
1164
|
+
...contents,
|
|
1165
|
+
};
|
|
1166
|
+
return response;
|
|
1167
|
+
};
|
|
1168
|
+
const de_ListAdminsManagingAccountCommandError = async (output, context) => {
|
|
1169
|
+
const parsedOutput = {
|
|
1170
|
+
...output,
|
|
1171
|
+
body: await parseErrorBody(output.body, context),
|
|
1172
|
+
};
|
|
1173
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1174
|
+
switch (errorCode) {
|
|
1175
|
+
case "InternalErrorException":
|
|
1176
|
+
case "com.amazonaws.fms#InternalErrorException":
|
|
1177
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1178
|
+
case "InvalidInputException":
|
|
1179
|
+
case "com.amazonaws.fms#InvalidInputException":
|
|
1180
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1181
|
+
case "ResourceNotFoundException":
|
|
1182
|
+
case "com.amazonaws.fms#ResourceNotFoundException":
|
|
1183
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1184
|
+
default:
|
|
1185
|
+
const parsedBody = parsedOutput.body;
|
|
1186
|
+
return throwDefaultError({
|
|
1187
|
+
output,
|
|
1188
|
+
parsedBody,
|
|
1189
|
+
errorCode,
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
};
|
|
1052
1193
|
export const de_ListAppsListsCommand = async (output, context) => {
|
|
1053
1194
|
if (output.statusCode >= 300) {
|
|
1054
1195
|
return de_ListAppsListsCommandError(output, context);
|
|
@@ -1438,6 +1579,44 @@ const de_ListThirdPartyFirewallFirewallPoliciesCommandError = async (output, con
|
|
|
1438
1579
|
});
|
|
1439
1580
|
}
|
|
1440
1581
|
};
|
|
1582
|
+
export const de_PutAdminAccountCommand = async (output, context) => {
|
|
1583
|
+
if (output.statusCode >= 300) {
|
|
1584
|
+
return de_PutAdminAccountCommandError(output, context);
|
|
1585
|
+
}
|
|
1586
|
+
await collectBody(output.body, context);
|
|
1587
|
+
const response = {
|
|
1588
|
+
$metadata: deserializeMetadata(output),
|
|
1589
|
+
};
|
|
1590
|
+
return response;
|
|
1591
|
+
};
|
|
1592
|
+
const de_PutAdminAccountCommandError = async (output, context) => {
|
|
1593
|
+
const parsedOutput = {
|
|
1594
|
+
...output,
|
|
1595
|
+
body: await parseErrorBody(output.body, context),
|
|
1596
|
+
};
|
|
1597
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1598
|
+
switch (errorCode) {
|
|
1599
|
+
case "InternalErrorException":
|
|
1600
|
+
case "com.amazonaws.fms#InternalErrorException":
|
|
1601
|
+
throw await de_InternalErrorExceptionRes(parsedOutput, context);
|
|
1602
|
+
case "InvalidInputException":
|
|
1603
|
+
case "com.amazonaws.fms#InvalidInputException":
|
|
1604
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1605
|
+
case "InvalidOperationException":
|
|
1606
|
+
case "com.amazonaws.fms#InvalidOperationException":
|
|
1607
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1608
|
+
case "LimitExceededException":
|
|
1609
|
+
case "com.amazonaws.fms#LimitExceededException":
|
|
1610
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1611
|
+
default:
|
|
1612
|
+
const parsedBody = parsedOutput.body;
|
|
1613
|
+
return throwDefaultError({
|
|
1614
|
+
output,
|
|
1615
|
+
parsedBody,
|
|
1616
|
+
errorCode,
|
|
1617
|
+
});
|
|
1618
|
+
}
|
|
1619
|
+
};
|
|
1441
1620
|
export const de_PutAppsListCommand = async (output, context) => {
|
|
1442
1621
|
if (output.statusCode >= 300) {
|
|
1443
1622
|
return de_PutAppsListCommandError(output, context);
|
|
@@ -1844,6 +2023,7 @@ const se_ResourceSet = (input, context) => {
|
|
|
1844
2023
|
Id: [],
|
|
1845
2024
|
LastUpdateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1846
2025
|
Name: [],
|
|
2026
|
+
ResourceSetStatus: [],
|
|
1847
2027
|
ResourceTypeList: _json,
|
|
1848
2028
|
UpdateToken: [],
|
|
1849
2029
|
});
|
|
@@ -1964,6 +2144,7 @@ const de_ResourceSet = (output, context) => {
|
|
|
1964
2144
|
Id: __expectString,
|
|
1965
2145
|
LastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1966
2146
|
Name: __expectString,
|
|
2147
|
+
ResourceSetStatus: __expectString,
|
|
1967
2148
|
ResourceTypeList: _json,
|
|
1968
2149
|
UpdateToken: __expectString,
|
|
1969
2150
|
});
|
|
@@ -1974,6 +2155,7 @@ const de_ResourceSetSummary = (output, context) => {
|
|
|
1974
2155
|
Id: __expectString,
|
|
1975
2156
|
LastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1976
2157
|
Name: __expectString,
|
|
2158
|
+
ResourceSetStatus: __expectString,
|
|
1977
2159
|
});
|
|
1978
2160
|
};
|
|
1979
2161
|
const de_ResourceSetSummaryList = (output, context) => {
|
package/dist-types/FMS.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { DeleteResourceSetCommandInput, DeleteResourceSetCommandOutput } from ".
|
|
|
11
11
|
import { DisassociateAdminAccountCommandInput, DisassociateAdminAccountCommandOutput } from "./commands/DisassociateAdminAccountCommand";
|
|
12
12
|
import { DisassociateThirdPartyFirewallCommandInput, DisassociateThirdPartyFirewallCommandOutput } from "./commands/DisassociateThirdPartyFirewallCommand";
|
|
13
13
|
import { GetAdminAccountCommandInput, GetAdminAccountCommandOutput } from "./commands/GetAdminAccountCommand";
|
|
14
|
+
import { GetAdminScopeCommandInput, GetAdminScopeCommandOutput } from "./commands/GetAdminScopeCommand";
|
|
14
15
|
import { GetAppsListCommandInput, GetAppsListCommandOutput } from "./commands/GetAppsListCommand";
|
|
15
16
|
import { GetComplianceDetailCommandInput, GetComplianceDetailCommandOutput } from "./commands/GetComplianceDetailCommand";
|
|
16
17
|
import { GetNotificationChannelCommandInput, GetNotificationChannelCommandOutput } from "./commands/GetNotificationChannelCommand";
|
|
@@ -20,6 +21,8 @@ import { GetProtocolsListCommandInput, GetProtocolsListCommandOutput } from "./c
|
|
|
20
21
|
import { GetResourceSetCommandInput, GetResourceSetCommandOutput } from "./commands/GetResourceSetCommand";
|
|
21
22
|
import { GetThirdPartyFirewallAssociationStatusCommandInput, GetThirdPartyFirewallAssociationStatusCommandOutput } from "./commands/GetThirdPartyFirewallAssociationStatusCommand";
|
|
22
23
|
import { GetViolationDetailsCommandInput, GetViolationDetailsCommandOutput } from "./commands/GetViolationDetailsCommand";
|
|
24
|
+
import { ListAdminAccountsForOrganizationCommandInput, ListAdminAccountsForOrganizationCommandOutput } from "./commands/ListAdminAccountsForOrganizationCommand";
|
|
25
|
+
import { ListAdminsManagingAccountCommandInput, ListAdminsManagingAccountCommandOutput } from "./commands/ListAdminsManagingAccountCommand";
|
|
23
26
|
import { ListAppsListsCommandInput, ListAppsListsCommandOutput } from "./commands/ListAppsListsCommand";
|
|
24
27
|
import { ListComplianceStatusCommandInput, ListComplianceStatusCommandOutput } from "./commands/ListComplianceStatusCommand";
|
|
25
28
|
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
@@ -30,6 +33,7 @@ import { ListResourceSetResourcesCommandInput, ListResourceSetResourcesCommandOu
|
|
|
30
33
|
import { ListResourceSetsCommandInput, ListResourceSetsCommandOutput } from "./commands/ListResourceSetsCommand";
|
|
31
34
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
32
35
|
import { ListThirdPartyFirewallFirewallPoliciesCommandInput, ListThirdPartyFirewallFirewallPoliciesCommandOutput } from "./commands/ListThirdPartyFirewallFirewallPoliciesCommand";
|
|
36
|
+
import { PutAdminAccountCommandInput, PutAdminAccountCommandOutput } from "./commands/PutAdminAccountCommand";
|
|
33
37
|
import { PutAppsListCommandInput, PutAppsListCommandOutput } from "./commands/PutAppsListCommand";
|
|
34
38
|
import { PutNotificationChannelCommandInput, PutNotificationChannelCommandOutput } from "./commands/PutNotificationChannelCommand";
|
|
35
39
|
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
@@ -111,6 +115,12 @@ export interface FMS {
|
|
|
111
115
|
getAdminAccount(args: GetAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetAdminAccountCommandOutput>;
|
|
112
116
|
getAdminAccount(args: GetAdminAccountCommandInput, cb: (err: any, data?: GetAdminAccountCommandOutput) => void): void;
|
|
113
117
|
getAdminAccount(args: GetAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdminAccountCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link GetAdminScopeCommand}
|
|
120
|
+
*/
|
|
121
|
+
getAdminScope(args: GetAdminScopeCommandInput, options?: __HttpHandlerOptions): Promise<GetAdminScopeCommandOutput>;
|
|
122
|
+
getAdminScope(args: GetAdminScopeCommandInput, cb: (err: any, data?: GetAdminScopeCommandOutput) => void): void;
|
|
123
|
+
getAdminScope(args: GetAdminScopeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdminScopeCommandOutput) => void): void;
|
|
114
124
|
/**
|
|
115
125
|
* @see {@link GetAppsListCommand}
|
|
116
126
|
*/
|
|
@@ -165,6 +175,18 @@ export interface FMS {
|
|
|
165
175
|
getViolationDetails(args: GetViolationDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetViolationDetailsCommandOutput>;
|
|
166
176
|
getViolationDetails(args: GetViolationDetailsCommandInput, cb: (err: any, data?: GetViolationDetailsCommandOutput) => void): void;
|
|
167
177
|
getViolationDetails(args: GetViolationDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetViolationDetailsCommandOutput) => void): void;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link ListAdminAccountsForOrganizationCommand}
|
|
180
|
+
*/
|
|
181
|
+
listAdminAccountsForOrganization(args: ListAdminAccountsForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<ListAdminAccountsForOrganizationCommandOutput>;
|
|
182
|
+
listAdminAccountsForOrganization(args: ListAdminAccountsForOrganizationCommandInput, cb: (err: any, data?: ListAdminAccountsForOrganizationCommandOutput) => void): void;
|
|
183
|
+
listAdminAccountsForOrganization(args: ListAdminAccountsForOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAdminAccountsForOrganizationCommandOutput) => void): void;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link ListAdminsManagingAccountCommand}
|
|
186
|
+
*/
|
|
187
|
+
listAdminsManagingAccount(args: ListAdminsManagingAccountCommandInput, options?: __HttpHandlerOptions): Promise<ListAdminsManagingAccountCommandOutput>;
|
|
188
|
+
listAdminsManagingAccount(args: ListAdminsManagingAccountCommandInput, cb: (err: any, data?: ListAdminsManagingAccountCommandOutput) => void): void;
|
|
189
|
+
listAdminsManagingAccount(args: ListAdminsManagingAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAdminsManagingAccountCommandOutput) => void): void;
|
|
168
190
|
/**
|
|
169
191
|
* @see {@link ListAppsListsCommand}
|
|
170
192
|
*/
|
|
@@ -225,6 +247,12 @@ export interface FMS {
|
|
|
225
247
|
listThirdPartyFirewallFirewallPolicies(args: ListThirdPartyFirewallFirewallPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListThirdPartyFirewallFirewallPoliciesCommandOutput>;
|
|
226
248
|
listThirdPartyFirewallFirewallPolicies(args: ListThirdPartyFirewallFirewallPoliciesCommandInput, cb: (err: any, data?: ListThirdPartyFirewallFirewallPoliciesCommandOutput) => void): void;
|
|
227
249
|
listThirdPartyFirewallFirewallPolicies(args: ListThirdPartyFirewallFirewallPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListThirdPartyFirewallFirewallPoliciesCommandOutput) => void): void;
|
|
250
|
+
/**
|
|
251
|
+
* @see {@link PutAdminAccountCommand}
|
|
252
|
+
*/
|
|
253
|
+
putAdminAccount(args: PutAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<PutAdminAccountCommandOutput>;
|
|
254
|
+
putAdminAccount(args: PutAdminAccountCommandInput, cb: (err: any, data?: PutAdminAccountCommandOutput) => void): void;
|
|
255
|
+
putAdminAccount(args: PutAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAdminAccountCommandOutput) => void): void;
|
|
228
256
|
/**
|
|
229
257
|
* @see {@link PutAppsListCommand}
|
|
230
258
|
*/
|
|
@@ -275,7 +303,7 @@ export interface FMS {
|
|
|
275
303
|
* types, and errors. For detailed information about Firewall Manager features, see the
|
|
276
304
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager Developer Guide</a>.</p>
|
|
277
305
|
* <p>Some API actions require explicit resource permissions. For information, see the developer guide topic
|
|
278
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-
|
|
306
|
+
* <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>.
|
|
279
307
|
* </p>
|
|
280
308
|
*/
|
|
281
309
|
export declare class FMS extends FMSClient implements FMS {
|
|
@@ -19,6 +19,7 @@ import { DeleteResourceSetCommandInput, DeleteResourceSetCommandOutput } from ".
|
|
|
19
19
|
import { DisassociateAdminAccountCommandInput, DisassociateAdminAccountCommandOutput } from "./commands/DisassociateAdminAccountCommand";
|
|
20
20
|
import { DisassociateThirdPartyFirewallCommandInput, DisassociateThirdPartyFirewallCommandOutput } from "./commands/DisassociateThirdPartyFirewallCommand";
|
|
21
21
|
import { GetAdminAccountCommandInput, GetAdminAccountCommandOutput } from "./commands/GetAdminAccountCommand";
|
|
22
|
+
import { GetAdminScopeCommandInput, GetAdminScopeCommandOutput } from "./commands/GetAdminScopeCommand";
|
|
22
23
|
import { GetAppsListCommandInput, GetAppsListCommandOutput } from "./commands/GetAppsListCommand";
|
|
23
24
|
import { GetComplianceDetailCommandInput, GetComplianceDetailCommandOutput } from "./commands/GetComplianceDetailCommand";
|
|
24
25
|
import { GetNotificationChannelCommandInput, GetNotificationChannelCommandOutput } from "./commands/GetNotificationChannelCommand";
|
|
@@ -28,6 +29,8 @@ import { GetProtocolsListCommandInput, GetProtocolsListCommandOutput } from "./c
|
|
|
28
29
|
import { GetResourceSetCommandInput, GetResourceSetCommandOutput } from "./commands/GetResourceSetCommand";
|
|
29
30
|
import { GetThirdPartyFirewallAssociationStatusCommandInput, GetThirdPartyFirewallAssociationStatusCommandOutput } from "./commands/GetThirdPartyFirewallAssociationStatusCommand";
|
|
30
31
|
import { GetViolationDetailsCommandInput, GetViolationDetailsCommandOutput } from "./commands/GetViolationDetailsCommand";
|
|
32
|
+
import { ListAdminAccountsForOrganizationCommandInput, ListAdminAccountsForOrganizationCommandOutput } from "./commands/ListAdminAccountsForOrganizationCommand";
|
|
33
|
+
import { ListAdminsManagingAccountCommandInput, ListAdminsManagingAccountCommandOutput } from "./commands/ListAdminsManagingAccountCommand";
|
|
31
34
|
import { ListAppsListsCommandInput, ListAppsListsCommandOutput } from "./commands/ListAppsListsCommand";
|
|
32
35
|
import { ListComplianceStatusCommandInput, ListComplianceStatusCommandOutput } from "./commands/ListComplianceStatusCommand";
|
|
33
36
|
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
@@ -38,6 +41,7 @@ import { ListResourceSetResourcesCommandInput, ListResourceSetResourcesCommandOu
|
|
|
38
41
|
import { ListResourceSetsCommandInput, ListResourceSetsCommandOutput } from "./commands/ListResourceSetsCommand";
|
|
39
42
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
40
43
|
import { ListThirdPartyFirewallFirewallPoliciesCommandInput, ListThirdPartyFirewallFirewallPoliciesCommandOutput } from "./commands/ListThirdPartyFirewallFirewallPoliciesCommand";
|
|
44
|
+
import { PutAdminAccountCommandInput, PutAdminAccountCommandOutput } from "./commands/PutAdminAccountCommand";
|
|
41
45
|
import { PutAppsListCommandInput, PutAppsListCommandOutput } from "./commands/PutAppsListCommand";
|
|
42
46
|
import { PutNotificationChannelCommandInput, PutNotificationChannelCommandOutput } from "./commands/PutNotificationChannelCommand";
|
|
43
47
|
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
@@ -49,11 +53,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
49
53
|
/**
|
|
50
54
|
* @public
|
|
51
55
|
*/
|
|
52
|
-
export type ServiceInputTypes = AssociateAdminAccountCommandInput | AssociateThirdPartyFirewallCommandInput | BatchAssociateResourceCommandInput | BatchDisassociateResourceCommandInput | DeleteAppsListCommandInput | DeleteNotificationChannelCommandInput | DeletePolicyCommandInput | DeleteProtocolsListCommandInput | DeleteResourceSetCommandInput | DisassociateAdminAccountCommandInput | DisassociateThirdPartyFirewallCommandInput | GetAdminAccountCommandInput | GetAppsListCommandInput | GetComplianceDetailCommandInput | GetNotificationChannelCommandInput | GetPolicyCommandInput | GetProtectionStatusCommandInput | GetProtocolsListCommandInput | GetResourceSetCommandInput | GetThirdPartyFirewallAssociationStatusCommandInput | GetViolationDetailsCommandInput | ListAppsListsCommandInput | ListComplianceStatusCommandInput | ListDiscoveredResourcesCommandInput | ListMemberAccountsCommandInput | ListPoliciesCommandInput | ListProtocolsListsCommandInput | ListResourceSetResourcesCommandInput | ListResourceSetsCommandInput | ListTagsForResourceCommandInput | ListThirdPartyFirewallFirewallPoliciesCommandInput | PutAppsListCommandInput | PutNotificationChannelCommandInput | PutPolicyCommandInput | PutProtocolsListCommandInput | PutResourceSetCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
56
|
+
export type ServiceInputTypes = AssociateAdminAccountCommandInput | AssociateThirdPartyFirewallCommandInput | BatchAssociateResourceCommandInput | BatchDisassociateResourceCommandInput | DeleteAppsListCommandInput | DeleteNotificationChannelCommandInput | DeletePolicyCommandInput | DeleteProtocolsListCommandInput | DeleteResourceSetCommandInput | DisassociateAdminAccountCommandInput | DisassociateThirdPartyFirewallCommandInput | GetAdminAccountCommandInput | GetAdminScopeCommandInput | GetAppsListCommandInput | GetComplianceDetailCommandInput | GetNotificationChannelCommandInput | GetPolicyCommandInput | GetProtectionStatusCommandInput | GetProtocolsListCommandInput | GetResourceSetCommandInput | GetThirdPartyFirewallAssociationStatusCommandInput | GetViolationDetailsCommandInput | ListAdminAccountsForOrganizationCommandInput | ListAdminsManagingAccountCommandInput | ListAppsListsCommandInput | ListComplianceStatusCommandInput | ListDiscoveredResourcesCommandInput | ListMemberAccountsCommandInput | ListPoliciesCommandInput | ListProtocolsListsCommandInput | ListResourceSetResourcesCommandInput | ListResourceSetsCommandInput | ListTagsForResourceCommandInput | ListThirdPartyFirewallFirewallPoliciesCommandInput | PutAdminAccountCommandInput | PutAppsListCommandInput | PutNotificationChannelCommandInput | PutPolicyCommandInput | PutProtocolsListCommandInput | PutResourceSetCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
53
57
|
/**
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
|
-
export type ServiceOutputTypes = AssociateAdminAccountCommandOutput | AssociateThirdPartyFirewallCommandOutput | BatchAssociateResourceCommandOutput | BatchDisassociateResourceCommandOutput | DeleteAppsListCommandOutput | DeleteNotificationChannelCommandOutput | DeletePolicyCommandOutput | DeleteProtocolsListCommandOutput | DeleteResourceSetCommandOutput | DisassociateAdminAccountCommandOutput | DisassociateThirdPartyFirewallCommandOutput | GetAdminAccountCommandOutput | GetAppsListCommandOutput | GetComplianceDetailCommandOutput | GetNotificationChannelCommandOutput | GetPolicyCommandOutput | GetProtectionStatusCommandOutput | GetProtocolsListCommandOutput | GetResourceSetCommandOutput | GetThirdPartyFirewallAssociationStatusCommandOutput | GetViolationDetailsCommandOutput | ListAppsListsCommandOutput | ListComplianceStatusCommandOutput | ListDiscoveredResourcesCommandOutput | ListMemberAccountsCommandOutput | ListPoliciesCommandOutput | ListProtocolsListsCommandOutput | ListResourceSetResourcesCommandOutput | ListResourceSetsCommandOutput | ListTagsForResourceCommandOutput | ListThirdPartyFirewallFirewallPoliciesCommandOutput | PutAppsListCommandOutput | PutNotificationChannelCommandOutput | PutPolicyCommandOutput | PutProtocolsListCommandOutput | PutResourceSetCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
60
|
+
export type ServiceOutputTypes = AssociateAdminAccountCommandOutput | AssociateThirdPartyFirewallCommandOutput | BatchAssociateResourceCommandOutput | BatchDisassociateResourceCommandOutput | DeleteAppsListCommandOutput | DeleteNotificationChannelCommandOutput | DeletePolicyCommandOutput | DeleteProtocolsListCommandOutput | DeleteResourceSetCommandOutput | DisassociateAdminAccountCommandOutput | DisassociateThirdPartyFirewallCommandOutput | GetAdminAccountCommandOutput | GetAdminScopeCommandOutput | GetAppsListCommandOutput | GetComplianceDetailCommandOutput | GetNotificationChannelCommandOutput | GetPolicyCommandOutput | GetProtectionStatusCommandOutput | GetProtocolsListCommandOutput | GetResourceSetCommandOutput | GetThirdPartyFirewallAssociationStatusCommandOutput | GetViolationDetailsCommandOutput | ListAdminAccountsForOrganizationCommandOutput | ListAdminsManagingAccountCommandOutput | ListAppsListsCommandOutput | ListComplianceStatusCommandOutput | ListDiscoveredResourcesCommandOutput | ListMemberAccountsCommandOutput | ListPoliciesCommandOutput | ListProtocolsListsCommandOutput | ListResourceSetResourcesCommandOutput | ListResourceSetsCommandOutput | ListTagsForResourceCommandOutput | ListThirdPartyFirewallFirewallPoliciesCommandOutput | PutAdminAccountCommandOutput | PutAppsListCommandOutput | PutNotificationChannelCommandOutput | PutPolicyCommandOutput | PutProtocolsListCommandOutput | PutResourceSetCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
57
61
|
/**
|
|
58
62
|
* @public
|
|
59
63
|
*/
|
|
@@ -186,7 +190,7 @@ export interface FMSClientResolvedConfig extends FMSClientResolvedConfigType {
|
|
|
186
190
|
* types, and errors. For detailed information about Firewall Manager features, see the
|
|
187
191
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager Developer Guide</a>.</p>
|
|
188
192
|
* <p>Some API actions require explicit resource permissions. For information, see the developer guide topic
|
|
189
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-
|
|
193
|
+
* <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>.
|
|
190
194
|
* </p>
|
|
191
195
|
*/
|
|
192
196
|
export declare class FMSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FMSClientResolvedConfig> {
|
|
@@ -19,10 +19,8 @@ export interface AssociateAdminAccountCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Sets
|
|
23
|
-
*
|
|
24
|
-
* Firewall Manager sets the permissions that allow the account to administer your Firewall Manager policies.</p>
|
|
25
|
-
* <p>The account that you associate with Firewall Manager is called the Firewall Manager administrator account. </p>
|
|
22
|
+
* <p>Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.</p>
|
|
23
|
+
* <p>For information about working with Firewall Manager administrator accounts, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/fms-administrators.html">Managing Firewall Manager administrators</a> in the <i>Firewall Manager Developer Guide</i>.</p>
|
|
26
24
|
* @example
|
|
27
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
26
|
* ```javascript
|
|
@@ -19,9 +19,8 @@ export interface DisassociateAdminAccountCommandOutput extends __MetadataBearer
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Disassociates
|
|
23
|
-
*
|
|
24
|
-
* <code>AssociateAdminAccount</code> request.</p>
|
|
22
|
+
* <p>Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a <a>PutAdminAccount</a> request. To set an account as a default administrator account, you must submit an <a>AssociateAdminAccount</a> request.</p>
|
|
23
|
+
* <p>Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your account.</p>
|
|
25
24
|
* @example
|
|
26
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
26
|
* ```javascript
|
|
@@ -20,7 +20,7 @@ export interface GetAdminAccountCommandOutput extends GetAdminAccountResponse, _
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Returns the Organizations account that is associated with Firewall Manager
|
|
23
|
-
* as the Firewall Manager administrator.</p>
|
|
23
|
+
* as the Firewall Manager default administrator.</p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
+
}
|