deleteRemediationConfiguration method
Deletes the remediation configuration.
May throw InsufficientPermissionsException.
May throw InvalidParameterValueException.
May throw NoSuchRemediationConfigurationException.
May throw RemediationInProgressException.
Parameter configRuleName :
The name of the Config rule for which you want to delete remediation
configuration.
Parameter resourceType :
The type of a resource.
Implementation
Future<void> deleteRemediationConfiguration({
required String configRuleName,
String? resourceType,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StarlingDoveService.DeleteRemediationConfiguration'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ConfigRuleName': configRuleName,
if (resourceType != null) 'ResourceType': resourceType,
},
);
}