list_invitations
¶
list_invitations(
*,
config_overrides: Optional[DetectiveClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MemberResultsLimit] = None,
) -> ListInvitationsResponse
Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by an invited member account.
Open invitations are invitations that the member account has not responded to.
The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.
Parameters:
-
next_token(Optional[PaginationToken], default:None) –For requests to retrieve the next page of 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 behavior graph invitations to return 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.
-
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
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 | |