Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.ListInstanceProfilesForRoleAsync C# (CSharp) Method

ListInstanceProfilesForRoleAsync() public method

Initiates the asynchronous execution of the ListInstanceProfilesForRole operation.
public ListInstanceProfilesForRoleAsync ( ListInstanceProfilesForRoleRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ListInstanceProfilesForRoleRequest Container for the necessary parameters to execute the ListInstanceProfilesForRole operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListInstanceProfilesForRoleResponse> ListInstanceProfilesForRoleAsync(ListInstanceProfilesForRoleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListInstanceProfilesForRoleRequestMarshaller();
            var unmarshaller = ListInstanceProfilesForRoleResponseUnmarshaller.Instance;

            return InvokeAsync<ListInstanceProfilesForRoleRequest,ListInstanceProfilesForRoleResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::ListInstanceProfilesForRoleAsync ( ListInstanceProfilesForRoleRequest request, ListInstanceProfilesForRoleResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient