getAutomationRuleV2 method
Returns an automation rule for the V2 service.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter identifier :
The ARN of the V2 automation rule.
Implementation
Future<GetAutomationRuleV2Response> getAutomationRuleV2({
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/automationrulesv2/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetAutomationRuleV2Response.fromJson(response);
}