public void GenerateCredentialReportAsync(GenerateCredentialReportRequest request, AmazonServiceCallback<GenerateCredentialReportRequest, GenerateCredentialReportResponse> callback, AsyncOptions options = null)
{
options = options == null?new AsyncOptions():options;
var marshaller = new GenerateCredentialReportRequestMarshaller();
var unmarshaller = GenerateCredentialReportResponseUnmarshaller.Instance;
Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null;
if(callback !=null )
callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => {
AmazonServiceResult<GenerateCredentialReportRequest,GenerateCredentialReportResponse> responseObject
= new AmazonServiceResult<GenerateCredentialReportRequest,GenerateCredentialReportResponse>((GenerateCredentialReportRequest)req, (GenerateCredentialReportResponse)res, ex , ao.State);
callback(responseObject);
};
BeginInvoke<GenerateCredentialReportRequest>(request, marshaller, unmarshaller, options, callbackHelper);
}