batchGetAutomationRules method

Future<BatchGetAutomationRulesResponse> batchGetAutomationRules({
  1. required List<String> automationRulesArns,
})

Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).

May throw AccessDeniedException. May throw InternalException. May throw InvalidAccessException. May throw InvalidInputException. May throw LimitExceededException. May throw ResourceNotFoundException.

Parameter automationRulesArns : A list of rule ARNs to get details for.

Implementation

Future<BatchGetAutomationRulesResponse> batchGetAutomationRules({
  required List<String> automationRulesArns,
}) async {
  final $payload = <String, dynamic>{
    'AutomationRulesArns': automationRulesArns,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/automationrules/get',
    exceptionFnMap: _exceptionFns,
  );
  return BatchGetAutomationRulesResponse.fromJson(response);
}