list_spaces
async
¶
list_spaces(
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[SpacesMaxResults] = None,
) -> ListSpacesResponse
Lists all Amazon QuickSight spaces in an Amazon Web Services account.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the spaces.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results, or null if there are no more results.
-
max_results(Optional[SpacesMaxResults], default:None) –The maximum number of results to return.
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.
-
ResourceNotFoundException–One or more resources can't be found.
-
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
14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 | |