describeInstallationMedia method
Describes the available installation media for a DB engine that requires an on-premises customer provided license, such as Microsoft SQL Server.
May throw InstallationMediaNotFoundFault.
Parameter filters
:
A filter that specifies one or more installation media to describe.
Supported filters include the following:
-
custom-availability-zone-id
- Accepts custom Availability Zone (AZ) identifiers. The results list includes information about only the custom AZs identified by these identifiers. -
engine
- Accepts database engines. The results list includes information about only the database engines identified by these identifiers.For more information about the valid engines for installation media, see ImportInstallationMedia.
Parameter installationMediaId
:
The installation medium ID.
Parameter marker
:
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
.
Parameter maxRecords
:
An optional pagination token provided by a previous
DescribeInstallationMedia request. If this parameter is specified, the
response includes only records beyond the marker, up to the value
specified by MaxRecords
.
Implementation
Future<InstallationMediaMessage> describeInstallationMedia({
List<Filter>? filters,
String? installationMediaId,
String? marker,
int? maxRecords,
}) async {
final $request = <String, dynamic>{};
filters?.also((arg) => $request['Filters'] = arg);
installationMediaId?.also((arg) => $request['InstallationMediaId'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeInstallationMedia',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeInstallationMediaMessage'],
shapes: shapes,
resultWrapper: 'DescribeInstallationMediaResult',
);
return InstallationMediaMessage.fromXml($result);
}