updateMetricConfiguration method

Future<void> updateMetricConfiguration({
  1. SummaryMetricConfiguration? summaryMetric,
})

Update the summary metric configuration.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter summaryMetric : The value to be used to set summary metric configuration.

Implementation

Future<void> updateMetricConfiguration({
  SummaryMetricConfiguration? summaryMetric,
}) async {
  final $payload = <String, dynamic>{
    if (summaryMetric != null) 'SummaryMetric': summaryMetric,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/metric-configuration',
    exceptionFnMap: _exceptionFns,
  );
}