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

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

Gets information about 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 GetTopicRuleAsync ( 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<GetTopicRuleResponse> GetTopicRuleAsync(string ruleName, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new GetTopicRuleRequest();
            request.RuleName = ruleName;
            return GetTopicRuleAsync(request, cancellationToken);
        }

Same methods

AmazonIoTClient::GetTopicRuleAsync ( GetTopicRuleRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient