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 InvalidRequestException. May throw ThrottlingException. May throw InternalFailureException. May throw ServiceUnavailableException. May throw UnsupportedOperationException. May throw ResourceInUseException.
Parameter loggingOptions
:
The new values of the AWS IoT Events 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,
);
}