QuickSight / Client / describe_resource_permissions

describe_resource_permissions

QuickSight.Client.describe_resource_permissions(**kwargs)

Describes the service role configuration for your Amazon Quick Sight account.

Call this operation in the Amazon Web Services Region where your Amazon Quick Sight account is registered (the home Region).

See also: AWS API Documentation

Request Syntax

response = client.describe_resource_permissions(
    AwsAccountId='string'
)
Parameters:

AwsAccountId (string) –

[REQUIRED]

The ID of the Amazon Web Services account whose service role configuration you want to describe.

Return type:

dict

Returns:

Response Syntax

{
    'RoleType': 'QUICKSIGHT_MANAGED'|'CUSTOMER_MANAGED',
    'CustomerManagedRoleArn': 'string',
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • RoleType (string) –

      The type of service role that Amazon Quick Sight uses for your account.

    • CustomerManagedRoleArn (string) –

      The ARN of the customer-managed role that Amazon Quick Sight uses for your account. Amazon Quick Sight returns this value only when RoleType is CUSTOMER_MANAGED.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions