public DeleteAccountPasswordPolicyAsync ( DeleteAccountPasswordPolicyRequest request, DeleteAccountPasswordPolicyResponse>.AmazonServiceCallback |
||
request | DeleteAccountPasswordPolicyRequest | Container for the necessary parameters to execute the DeleteAccountPasswordPolicy operation on AmazonIdentityManagementServiceClient. |
callback | DeleteAccountPasswordPolicyResponse>.AmazonServiceCallback | An Action delegate that is invoked when the operation completes. |
options | 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 DeleteAccountPasswordPolicyAsync(DeleteAccountPasswordPolicyRequest request, AmazonServiceCallback<DeleteAccountPasswordPolicyRequest, DeleteAccountPasswordPolicyResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new DeleteAccountPasswordPolicyRequestMarshaller();
var unmarshaller = DeleteAccountPasswordPolicyResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<DeleteAccountPasswordPolicyRequest,DeleteAccountPasswordPolicyResponse> responseObject
= new AmazonServiceResult<DeleteAccountPasswordPolicyRequest,DeleteAccountPasswordPolicyResponse>((DeleteAccountPasswordPolicyRequest)req, (DeleteAccountPasswordPolicyResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<DeleteAccountPasswordPolicyRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}
AmazonIdentityManagementServiceClient::DeleteAccountPasswordPolicyAsync ( DeleteAccountPasswordPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonIdentityManagementServiceClient::DeleteAccountPasswordPolicyAsync ( System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonIdentityManagementServiceClient::DeleteAccountPasswordPolicyAsync ( DeleteAccountPasswordPolicyResponse>.AmazonServiceCallback |