list_members
¶
list_members(
graph_arn: GraphArn,
*,
config_overrides: Optional[DetectiveClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MemberResultsLimit] = None,
) -> ListMembersResponse
Retrieves the list of member accounts for a behavior graph.
For invited accounts, the results do not include member accounts that were removed from the behavior graph.
For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.
Parameters:
-
graph_arn(GraphArn) –The ARN of the behavior graph for which to retrieve the list of member accounts.
-
next_token(Optional[PaginationToken], default:None) –For requests to retrieve the next page of member account results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.
-
max_results(Optional[MemberResultsLimit], default:None) –The maximum number of member accounts to include in the response. The total must be less than the overall limit on the number of results to return, which is currently 200.
Raises:
-
AccessDeniedException–The request issuer does not have permission to access this resource or perform this operation.
-
InternalServerException–The request was valid but failed because of a problem with the service.
-
ResourceNotFoundException–The request refers to a nonexistent resource.
-
ValidationException–The request parameters are invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_detective/_services/detective.py
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 | |