deleteFleet method
Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
May throw InvalidInputException.
Parameter arn :
The ARN of the compute fleet.
Implementation
Future<void> deleteFleet({
required String arn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CodeBuild_20161006.DeleteFleet'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'arn': arn,
},
);
}