describe_db_engine_versions
async
¶
describe_db_engine_versions(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
engine: Optional[String] = None,
engine_version: Optional[String] = None,
db_parameter_group_family: Optional[String] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
default_only: Optional[Boolean] = None,
list_supported_character_sets: Optional[BooleanOptional] = None,
list_supported_timezones: Optional[BooleanOptional] = None,
include_all: Optional[BooleanOptional] = None,
) -> DBEngineVersionMessage
Describes the properties of specific versions of DB engines.
Parameters:
-
engine(Optional[String], default:None) –The database engine to return version details for.
Valid Values:
-
aurora-mysql -
aurora-postgresql -
custom-oracle-ee -
custom-oracle-ee-cdb -
custom-oracle-se2 -
custom-oracle-se2-cdb -
db2-ae -
db2-ce -
db2-se -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web -
sqlserver-dev-ee
-
-
engine_version(Optional[String], default:None) –A specific database engine version to return details for.
Example:
5.1.49 -
db_parameter_group_family(Optional[String], default:None) –The name of a specific DB parameter group family to return details for.
Constraints:
-
If supplied, must match an existing DB parameter group family.
-
-
filters(Optional[FilterList], default:None) –A filter that specifies one or more DB engine versions to describe.
Supported filters:
-
db-parameter-group-family- Accepts parameter groups family names. The results list only includes information about the DB engine versions for these parameter group families. -
engine- Accepts engine names. The results list only includes information about the DB engine versions for these engines. -
engine-mode- Accepts DB engine modes. The results list only includes information about the DB engine versions for these engine modes. Valid DB engine modes are the following:-
global -
multimaster -
parallelquery -
provisioned -
serverless
-
-
engine-version- Accepts engine versions. The results list only includes information about the DB engine versions for these engine versions. -
status- Accepts engine version statuses. The results list only includes information about the DB engine versions for these statuses. Valid statuses are the following:-
available -
deprecated
-
-
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more than the
MaxRecordsvalue is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100.
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords. -
default_only(Optional[Boolean], default:None) –Specifies whether to return only the default version of the specified engine or the engine and major version combination.
-
list_supported_character_sets(Optional[BooleanOptional], default:None) –Specifies whether to list the supported character sets for each engine version.
If this parameter is enabled and the requested engine supports the
CharacterSetNameparameter forCreateDBInstance, the response includes a list of supported character sets for each engine version.For RDS Custom, the default is not to list supported character sets. If you enable this parameter, RDS Custom returns no results.
-
list_supported_timezones(Optional[BooleanOptional], default:None) –Specifies whether to list the supported time zones for each engine version.
If this parameter is enabled and the requested engine supports the
TimeZoneparameter forCreateDBInstance, the response includes a list of supported time zones for each engine version.For RDS Custom, the default is not to list supported time zones. If you enable this parameter, RDS Custom returns no results.
-
include_all(Optional[BooleanOptional], default:None) –Specifies whether to also list the engine versions that aren't available. The default is to list only available engine versions.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe the DB engine versions for the MySQL DB engine The following example displays details about each of the DB engine versions for the specified DB engine.
Source code in docs_src/capo_rds/_services/async_rds.py
6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 | |