list_sessions
¶
list_sessions(
approval_team_arn: ApprovalTeamArn,
*,
config_overrides: Optional[MPAClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[Token] = None,
filters: Optional[Filters] = None,
) -> ListSessionsResponse
Returns a list of approval sessions. For more information, see Session in the Multi-party approval User Guide.
Parameters:
-
approval_team_arn(ApprovalTeamArn) –Amazon Resource Name (ARN) for the approval team.
-
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. -
filters(Optional[Filters], default:None) –An array of
Filterobjects. Contains the filter to apply when listing sessions.
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.
-
ResourceNotFoundException–The specified resource doesn't exist. Check the resource ID, and try again.
-
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.
Source code in docs_src/capo_mpa/_services/mpa.py
1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 | |