putLoggingOptions method
Sets or updates the AWS IoT Events logging options.
If you update the value of any loggingOptions field, it takes
up to one minute for the change to take effect. 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 InternalFailureException.
May throw InvalidRequestException.
May throw ResourceInUseException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnsupportedOperationException.
Parameter loggingOptions :
The new values of the AWS IoT Events logging options.
Implementation
Future<void> putLoggingOptions({
required LoggingOptions loggingOptions,
}) async {
final $payload = <String, dynamic>{
'loggingOptions': loggingOptions,
};
await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/logging',
exceptionFnMap: _exceptionFns,
);
}