list_approval_teams
async
¶
list_approval_teams(
*,
config_overrides: Optional[AsyncMPAClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[Token] = None,
) -> ListApprovalTeamsResponse
Returns a list of approval teams.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return in the response. If more results exist than the specified
MaxResultsvalue, a token is included in the response so that you can retrieve the remaining results. -
next_token(Optional[Token], default:None) –If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. Check your permissions, and try again.
-
InternalServerException–The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.