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

GetInstanceProfileAsync() public method

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

            return InvokeAsync<GetInstanceProfileRequest,GetInstanceProfileResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::GetInstanceProfileAsync ( GetInstanceProfileRequest request, GetInstanceProfileResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient