describe_channel_moderated_by_app_instance_user
async
¶
describe_channel_moderated_by_app_instance_user(
channel_arn: ChimeArn,
app_instance_user_arn: ChimeArn,
chime_bearer: ChimeArn,
*,
config_overrides: Optional[AsyncChimeSDKMessagingClientConfig] = None,
) -> DescribeChannelModeratedByAppInstanceUserResponse
Returns the full details of a channel moderated by the specified AppInstanceUser or AppInstanceBot.
The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
Parameters:
-
channel_arn(ChimeArn) –The ARN of the moderated channel.
-
app_instance_user_arn(ChimeArn) –The ARN of the user or bot in the moderated channel.
-
chime_bearer(ChimeArn) –The ARN of the
AppInstanceUserorAppInstanceBotthat makes the API call.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The client exceeded its request rate limit.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_messaging/_services/async_chime_sdk_messaging.py
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 1691 1692 1693 | |