describeLoggingOptions method
Retrieves the current IoT SiteWise logging options.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter workspaceName :
The name of the workspace.
Implementation
Future<DescribeLoggingOptionsResponse> describeLoggingOptions({
String? workspaceName,
}) async {
final $query = <String, List<String>>{
if (workspaceName != null) 'workspaceName': [workspaceName],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/logging',
queryParams: $query,
hostPrefix: 'api.',
exceptionFnMap: _exceptionFns,
);
return DescribeLoggingOptionsResponse.fromJson(response);
}