batchGetFleets method
Gets information about one or more compute fleets.
May throw InvalidInputException.
Parameter names :
The names or ARNs of the compute fleets.
Implementation
Future<BatchGetFleetsOutput> batchGetFleets({
required List<String> names,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CodeBuild_20161006.BatchGetFleets'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'names': names,
},
);
return BatchGetFleetsOutput.fromJson(jsonResponse.body);
}