describeNotificationRule method

Future<DescribeNotificationRuleResult> describeNotificationRule({
  1. required String arn,
})

Returns information about a specified notification rule.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter arn : The Amazon Resource Name (ARN) of the notification rule.

Implementation

Future<DescribeNotificationRuleResult> describeNotificationRule({
  required String arn,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  final $payload = <String, dynamic>{
    'Arn': arn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/describeNotificationRule',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeNotificationRuleResult.fromJson(response);
}