A factory function to construct an object of type AMLConnection.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of AMLClient.
The optional options argument may be used to configure aspects of the returned AMLConnection. Expected options are any of the types in the following option lists:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAMLClient\u003c/code\u003e class facilitates REST operations for Anti-Money Laundering (AML) services.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAMLConnection\u003c/code\u003e class is the connection object for \u003ccode\u003eAMLClient\u003c/code\u003e and is configured through a variety of policy options.\u003c/p\u003e\n"],["\u003cp\u003eRetry policies, such as \u003ccode\u003eAMLLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eAMLLimitedTimeRetryPolicy\u003c/code\u003e, control how the \u003ccode\u003eAMLConnection\u003c/code\u003e handles errors and retries.\u003c/p\u003e\n"],["\u003cp\u003eSeveral Structs are provided to configure policy options, such as \u003ccode\u003eAMLBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eAMLConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eAMLPollingPolicyOption\u003c/code\u003e, and \u003ccode\u003eAMLRetryPolicyOption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeAMLConnection\u003c/code\u003e function creates an \u003ccode\u003eAMLConnection\u003c/code\u003e object and takes \u003ccode\u003eoptions\u003c/code\u003e argument to configure it, whereas the \u003ccode\u003eMakeDefaultAMLConnectionIdempotencyPolicy\u003c/code\u003e function returns a default policy.\u003c/p\u003e\n"]]],[],null,[]]