list_namespaces
¶
list_namespaces(
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
) -> ListNamespacesResponse
Lists the namespaces for the specified Amazon Web Services account. This operation doesn't list deleted namespaces.
Parameters:
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that contains the Quick Sight namespaces that you want to list.
-
next_token(Optional[String], default:None) –A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous
ListNameSpacesAPI call if there is more data that can be returned. To receive the data, make anotherListNamespacesAPI call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make aListNamespacesAPI call with an expired token, you will receive aHTTP 400 InvalidNextTokenExceptionerror. -
max_results(Optional[MaxResults], 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.
-
InvalidNextTokenException–The
NextTokenvalue isn't valid. -
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/quick_sight.py
14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 | |