getTopicRuleDestination method
Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
May throw InternalException.
May throw InvalidRequestException.
May throw ServiceUnavailableException.
May throw UnauthorizedException.
Parameter arn :
The ARN of the topic rule destination.
Implementation
Future<GetTopicRuleDestinationResponse> getTopicRuleDestination({
required String arn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/destinations/${arn.split('/').map(Uri.encodeComponent).join('/')}',
exceptionFnMap: _exceptionFns,
);
return GetTopicRuleDestinationResponse.fromJson(response);
}