deleteTopicRuleDestination method
Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
May throw ConflictingResourceUpdateException.
May throw InternalException.
May throw InvalidRequestException.
May throw ServiceUnavailableException.
May throw UnauthorizedException.
Parameter arn :
The ARN of the topic rule destination to delete.
Implementation
Future<void> deleteTopicRuleDestination({
required String arn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/destinations/${arn.split('/').map(Uri.encodeComponent).join('/')}',
exceptionFnMap: _exceptionFns,
);
}