putModelInvocationLoggingConfiguration method

Future<void> putModelInvocationLoggingConfiguration({
  1. required LoggingConfig loggingConfig,
})

Set the configuration values for model invocation logging.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter loggingConfig : The logging configuration values to set.

Implementation

Future<void> putModelInvocationLoggingConfiguration({
  required LoggingConfig loggingConfig,
}) async {
  final $payload = <String, dynamic>{
    'loggingConfig': loggingConfig,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/logging/modelinvocations',
    exceptionFnMap: _exceptionFns,
  );
}