deleteMetricAttribution method
Deletes a metric attribution.
May throw InvalidInputException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
Parameter metricAttributionArn :
The metric attribution's Amazon Resource Name (ARN).
Implementation
Future<void> deleteMetricAttribution({
required String metricAttributionArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonPersonalize.DeleteMetricAttribution'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'metricAttributionArn': metricAttributionArn,
},
);
}