list_members
async
¶
list_members(
graph_arn: GraphArn,
*,
config_overrides: Optional[AsyncDetectiveClientConfig] = 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/async_detective.py
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 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 | |