list_channels
¶
list_channels(
*,
config_overrides: Optional[ivsClientConfig] = 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/ivs.py
1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 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 | |