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

UpdateLoginProfileAsync() public method

Initiates the asynchronous execution of the UpdateLoginProfile operation.
public UpdateLoginProfileAsync ( UpdateLoginProfileRequest request, UpdateLoginProfileResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
request UpdateLoginProfileRequest Container for the necessary parameters to execute the UpdateLoginProfile operation on AmazonIdentityManagementServiceClient.
callback UpdateLoginProfileResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options AsyncOptions A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return void
        public void UpdateLoginProfileAsync(UpdateLoginProfileRequest request, AmazonServiceCallback<UpdateLoginProfileRequest, UpdateLoginProfileResponse> callback, AsyncOptions options = null)
        {
            options = options == null?new AsyncOptions():options;
            var marshaller = new UpdateLoginProfileRequestMarshaller();
            var unmarshaller = UpdateLoginProfileResponseUnmarshaller.Instance;
            Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
            if(callback !=null )
                callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { 
                    AmazonServiceResult<UpdateLoginProfileRequest,UpdateLoginProfileResponse> responseObject 
                            = new AmazonServiceResult<UpdateLoginProfileRequest,UpdateLoginProfileResponse>((UpdateLoginProfileRequest)req, (UpdateLoginProfileResponse)res, ex , ao.State);    
                        callback(responseObject); 
                };
            BeginInvoke<UpdateLoginProfileRequest>(request, marshaller, unmarshaller, options, callbackHelper);
        }

Same methods

AmazonIdentityManagementServiceClient::UpdateLoginProfileAsync ( UpdateLoginProfileRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonIdentityManagementServiceClient