list_schema_versions
async
¶
list_schema_versions(
schema_id: SchemaId,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
max_results: Optional[MaxResultsNumber] = None,
next_token: Optional[SchemaRegistryTokenString] = None,
) -> ListSchemaVersionsResponse
Returns a list of schema versions that you have created, with minimal information. Schema versions in Deleted status will not be included in the results. Empty results will be returned if there are no schema versions available.
Parameters:
-
schema_id(SchemaId) –This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. Either
SchemaArnorSchemaNameandRegistryNamehas to be provided.
-
-
max_results(Optional[MaxResultsNumber], default:None) –Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.
-
next_token(Optional[SchemaRegistryTokenString], default:None) –A continuation token, if this is a continuation call.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
EntityNotFoundException–A specified entity does not exist
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 | |