update_user
async
¶
update_user(
broker_id: __string,
username: __string,
*,
config_overrides: Optional[AsyncmqClientConfig] = None,
console_access: Optional[__boolean] = None,
groups: Optional[__listOf__string] = None,
password: Optional[__string] = None,
replication_user: Optional[__boolean] = None,
) -> UpdateUserResponse
Updates the information for an ActiveMQ user.
Parameters:
-
broker_id(__string) –The unique ID that Amazon MQ generates for the broker.
-
console_access(Optional[__boolean], default:None) –Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
-
groups(Optional[__listOf__string], default:None) –The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
-
password(Optional[__string], default:None) –The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).
-
username(__string) –The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
-
replication_user(Optional[__boolean], default:None) –Defines whether the user is intended for data replication.
Raises:
-
BadRequestException–Returns information about an error.
-
ConflictException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mq/_services/async_mq.py
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 1784 1785 1786 | |