describeSafetyRule method
Returns information about a safety rule.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter safetyRuleArn :
The ARN of the safety rule.
Implementation
Future<DescribeSafetyRuleResponse> describeSafetyRule({
required String safetyRuleArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/safetyrule/${Uri.encodeComponent(safetyRuleArn)}',
exceptionFnMap: _exceptionFns,
);
return DescribeSafetyRuleResponse.fromJson(response);
}