describeValidDBInstanceModifications method
Future<DescribeValidDBInstanceModificationsResult>
describeValidDBInstanceModifications({
- required String dBInstanceIdentifier,
You can call DescribeValidDBInstanceModifications
to learn
what modifications you can make to your DB instance. You can use this
information when you call ModifyDBInstance
.
May throw DBInstanceNotFoundFault. May throw InvalidDBInstanceStateFault.
Parameter dBInstanceIdentifier
:
The customer identifier or the ARN of your DB instance.
Implementation
Future<DescribeValidDBInstanceModificationsResult>
describeValidDBInstanceModifications({
required String dBInstanceIdentifier,
}) async {
ArgumentError.checkNotNull(dBInstanceIdentifier, 'dBInstanceIdentifier');
final $request = <String, dynamic>{};
$request['DBInstanceIdentifier'] = dBInstanceIdentifier;
final $result = await _protocol.send(
$request,
action: 'DescribeValidDBInstanceModifications',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeValidDBInstanceModificationsMessage'],
shapes: shapes,
resultWrapper: 'DescribeValidDBInstanceModificationsResult',
);
return DescribeValidDBInstanceModificationsResult.fromXml($result);
}