list_sync_configurations
async
¶
list_sync_configurations(
repository_link_id: RepositoryLinkId,
sync_type: SyncConfigurationType,
*,
config_overrides: Optional[AsyncCodeConnectionsClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[SharpNextToken] = None,
) -> ListSyncConfigurationsOutput
Returns a list of sync configurations for a specified repository.
Parameters:
-
max_results(Optional[MaxResults], default:None) –A non-zero, non-negative integer used to limit the number of returned results.
-
next_token(Optional[SharpNextToken], default:None) –An enumeration token that allows the operation to batch the results of the operation.
-
repository_link_id(RepositoryLinkId) –The ID of the repository link for the requested list of sync configurations.
-
sync_type(SyncConfigurationType) –The sync type for the requested list of sync configurations.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–Received an internal server exception. Try again later.
-
InvalidInputException–The input is not valid. Verify that the action is typed correctly.
-
ResourceNotFoundException–Resource not found. Verify the connection resource ARN and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codeconnections/_services/async_code_connections.py
1615 1616 1617 1618 1619 1620 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 1687 1688 1689 1690 | |