invalidateProjectCache method
Resets the cache for a project.
May throw InvalidInputException.
May throw ResourceNotFoundException.
Parameter projectName :
The name of the CodeBuild build project that the cache is reset for.
Implementation
Future<void> invalidateProjectCache({
required String projectName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CodeBuild_20161006.InvalidateProjectCache'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'projectName': projectName,
},
);
}