batchDeleteBuilds method
Deletes one or more builds.
May throw InvalidInputException.
Parameter ids
:
The IDs of the builds to delete.
Implementation
Future<BatchDeleteBuildsOutput> batchDeleteBuilds({
required List<String> ids,
}) async {
ArgumentError.checkNotNull(ids, 'ids');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CodeBuild_20161006.BatchDeleteBuilds'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ids': ids,
},
);
return BatchDeleteBuildsOutput.fromJson(jsonResponse.body);
}