list_channels
async
¶
list_channels(
*,
config_overrides: Optional[AsyncivsClientConfig] = None,
filter_by_name: Optional[ChannelName] = None,
filter_by_recording_configuration_arn: Optional[
ChannelRecordingConfigurationArn
] = None,
filter_by_playback_restriction_policy_arn: Optional[
ChannelPlaybackRestrictionPolicyArn
] = None,
filter_by_ad_configuration_arn: Optional[ChannelAdConfigurationArn] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxChannelResults] = None,
) -> ListChannelsResponse
Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 ConflictException).
Parameters:
-
filter_by_name(Optional[ChannelName], default:None) –Filters the channel list to match the specified name.
-
filter_by_recording_configuration_arn(Optional[ChannelRecordingConfigurationArn], default:None) –Filters the channel list to match the specified recording-configuration ARN.
-
filter_by_playback_restriction_policy_arn(Optional[ChannelPlaybackRestrictionPolicyArn], default:None) –Filters the channel list to match the specified policy.
-
filter_by_ad_configuration_arn(Optional[ChannelAdConfigurationArn], default:None) –Filters the channel list to match the specified ad configuration ARN.
-
next_token(Optional[PaginationToken], default:None) –The first channel to retrieve. This is used for pagination; see the
nextTokenresponse field. -
max_results(Optional[MaxChannelResults], default:None) –Maximum number of channels to return. Default: 100.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
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_ivs/_services/async_ivs.py
1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 | |