list_themes
async
¶
list_themes(
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
type: Optional[ThemeType] = None,
) -> ListThemesResponse
Lists all the themes in the current Amazon Web Services account.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the themes that you're listing.
-
next_token(Optional[String], default:None) –The token for the next set of results, or null if there are no more results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to be returned per request.
-
type(Optional[ThemeType], default:None) –The type of themes that you want to list. Valid options include the following:
-
ALL (default)- Display all existing themes. -
CUSTOM- Display only the themes created by people using Amazon Quick Sight. -
QUICKSIGHT- Display only the starting themes defined by Quick Sight.
-
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.
-
InvalidNextTokenException–The
NextTokenvalue isn't valid. -
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 | |