describe_user
async
¶
describe_user(
user_name: UserName,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
) -> DescribeUserResponse
Returns information about a user, given the user name.
Parameters:
-
user_name(UserName) –The name of the user that you want to describe.
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.
-
namespace(Namespace) –The namespace. Currently, you should set this to
default.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 | |