list_namespaces
¶
list_namespaces(
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListNamespacesResponse
Returns information about a list of specified namespaces.
Parameters:
-
next_token(Optional[str], default:None) –If your initial
ListNamespacesoperation returns anextToken, you can include the returnednextTokenin followingListNamespacesoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento display the next page of results.
Raises:
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/redshift_serverless.py
2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 | |