describeLaunchConfigurations method
Describes one or more launch configurations.
May throw InvalidNextToken. May throw ResourceContentionFault.
Parameter launchConfigurationNames
:
The launch configuration names. If you omit this parameter, all launch
configurations are described.
Parameter maxRecords
:
The maximum number of items to return with this call. The default value is
50
and the maximum value is 100
.
Parameter nextToken
:
The token for the next set of items to return. (You received this token
from a previous call.)
Implementation
Future<LaunchConfigurationsType> describeLaunchConfigurations({
List<String>? launchConfigurationNames,
int? maxRecords,
String? nextToken,
}) async {
final $request = <String, dynamic>{};
launchConfigurationNames
?.also((arg) => $request['LaunchConfigurationNames'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
nextToken?.also((arg) => $request['NextToken'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeLaunchConfigurations',
version: '2011-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['LaunchConfigurationNamesType'],
shapes: shapes,
resultWrapper: 'DescribeLaunchConfigurationsResult',
);
return LaunchConfigurationsType.fromXml($result);
}