Amazon.IoT.AmazonIoTClient.DeleteTopicRuleAsync C# (CSharp) Метод

DeleteTopicRuleAsync() публичный Метод

Deletes the specified rule.
/// An unexpected error has occurred. /// /// The request is not valid. /// /// The service is temporarily unavailable. /// /// You are not authorized to perform this operation. ///
public DeleteTopicRuleAsync ( string ruleName, System cancellationToken = default(CancellationToken) ) : Task
ruleName string The name of the rule.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DeleteTopicRuleResponse> DeleteTopicRuleAsync(string ruleName, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DeleteTopicRuleRequest();
            request.RuleName = ruleName;
            return DeleteTopicRuleAsync(request, cancellationToken);
        }

Same methods

AmazonIoTClient::DeleteTopicRuleAsync ( DeleteTopicRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient