list_endpoint_access
async
¶
list_endpoint_access(
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
workgroup_name: Optional[str] = None,
vpc_id: Optional[str] = None,
owner_account: Optional[OwnerAccount] = None,
) -> ListEndpointAccessResponse
Returns an array of EndpointAccess objects and relevant information.
Parameters:
-
next_token(Optional[str], default:None) –If your initial
ListEndpointAccessoperation returns anextToken, you can include the returnednextTokenin followingListEndpointAccessoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento display the next page of results. -
workgroup_name(Optional[str], default:None) –The name of the workgroup associated with the VPC endpoint to return.
-
vpc_id(Optional[str], default:None) –The unique identifier of the virtual private cloud with access to Amazon Redshift Serverless.
-
owner_account(Optional[OwnerAccount], default:None) –The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed 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_redshift_serverless/_services/async_redshift_serverless.py
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 | |