putLoggingOptions method
Sets or updates the AWS IoT Analytics logging options.
If you update the value of any loggingOptions
field, it takes
up to one minute for the change to take effect. Also, if you change the
policy attached to the role you specified in the roleArn
field (for example, to correct an invalid policy), it takes up to five
minutes for that change to take effect.
May throw InvalidRequestException. May throw InternalFailureException. May throw ServiceUnavailableException. May throw ThrottlingException.
Parameter loggingOptions
:
The new values of the AWS IoT Analytics logging options.
Implementation
Future<void> putLoggingOptions({
required LoggingOptions loggingOptions,
}) async {
ArgumentError.checkNotNull(loggingOptions, 'loggingOptions');
final $payload = <String, dynamic>{
'loggingOptions': loggingOptions,
};
await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/logging',
exceptionFnMap: _exceptionFns,
);
}