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

GetRoleAsync() public method

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

            return InvokeAsync<GetRoleRequest,GetRoleResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::GetRoleAsync ( GetRoleRequest request, GetRoleResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient