deleteConfigurationAggregator method
Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
May throw NoSuchConfigurationAggregatorException.
Parameter configurationAggregatorName
:
The name of the configuration aggregator.
Implementation
Future<void> deleteConfigurationAggregator({
required String configurationAggregatorName,
}) async {
ArgumentError.checkNotNull(
configurationAggregatorName, 'configurationAggregatorName');
_s.validateStringLength(
'configurationAggregatorName',
configurationAggregatorName,
1,
256,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StarlingDoveService.DeleteConfigurationAggregator'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ConfigurationAggregatorName': configurationAggregatorName,
},
);
}