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

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

Lists the versions of the specified policy and identifies the default version.
/// An unexpected error has occurred. /// /// The request is not valid. /// /// The specified resource does not exist. /// /// The service is temporarily unavailable. /// /// The rate exceeds the limit. /// /// You are not authorized to perform this operation. ///
public ListPolicyVersionsAsync ( string policyName, System cancellationToken = default(CancellationToken) ) : Task
policyName string The policy name.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<ListPolicyVersionsResponse> ListPolicyVersionsAsync(string policyName, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new ListPolicyVersionsRequest();
            request.PolicyName = policyName;
            return ListPolicyVersionsAsync(request, cancellationToken);
        }

Same methods

AmazonIoTClient::ListPolicyVersionsAsync ( ListPolicyVersionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient