list_vocabularies
async
¶
list_vocabularies(
*,
config_overrides: Optional[AsyncTranscribeClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
state_equals: Optional[VocabularyState] = None,
name_contains: Optional[VocabularyName] = None,
) -> ListVocabulariesResponse
Provides a list of custom vocabularies that match the specified criteria. If no criteria are specified, all custom vocabularies are returned.
To get detailed information about a specific custom vocabulary, use the operation.
Parameters:
-
next_token(Optional[NextToken], default:None) –If your
ListVocabulariesrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextTokenwith the value of the copied string. Repeat as needed to view all your results. -
max_results(Optional[MaxResults], default:None) –The maximum number of custom vocabularies to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
-
state_equals(Optional[VocabularyState], default:None) –Returns only custom vocabularies with the specified state. Vocabularies are ordered by creation date, with the newest vocabulary first. If you do not include
StateEquals, all custom medical vocabularies are returned. -
name_contains(Optional[VocabularyName], default:None) –Returns only the custom vocabularies that contain the specified string. The search is not case sensitive.
Raises:
-
BadRequestException–Your request didn't pass one or more validation tests. This can occur when the entity you're trying to delete doesn't exist or if it's in a non-terminal state (such as
IN PROGRESS). See the exception message field for more information. -
InternalFailureException–There was an internal error. Check the error message, correct the issue, and try your request again.
-
LimitExceededException–You've either sent too many requests or your input file is too long. Wait before retrying your request, or use a smaller file and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_transcribe/_services/async_transcribe.py
2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 | |