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

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

Lists the principals associated with the specified thing.
/// 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 ListThingPrincipalsAsync ( string thingName, System cancellationToken = default(CancellationToken) ) : Task
thingName string The name of the thing.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<ListThingPrincipalsResponse> ListThingPrincipalsAsync(string thingName, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new ListThingPrincipalsRequest();
            request.ThingName = thingName;
            return ListThingPrincipalsAsync(request, cancellationToken);
        }

Same methods

AmazonIoTClient::ListThingPrincipalsAsync ( ListThingPrincipalsRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient