@Override
            public GetGroupPolicyResult call() throws Exception {
                GetGroupPolicyResult result = null;

                try {
                    result = executeGetGroupPolicy(finalRequest);
                } catch (Exception ex) {
                    if (asyncHandler != null) {
                        asyncHandler.onError(ex);
                    }
                    throw ex;
                }

                if (asyncHandler != null) {
                    asyncHandler.onSuccess(finalRequest, result);
                }
                return result;
            }
Simplified method form for invoking the GetCredentialReport operation with an AsyncHandler.

@see #getCredentialReportAsync(GetCredentialReportRequest, com.amazonaws.handlers.AsyncHandler)
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/AmazonIdentityManagementAsyncClient.java