@Override
    public ListLinksResult listLinks(ListLinksRequest request) {
        request = beforeClientExecution(request);
        return executeListLinks(request);
    }
<p>
Use this operation in a source account to return a list of links to monitoring account sinks that this source
account has.
</p>
<p>
To find a list of links for one monitoring account sink, use <a
href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListAttachedLinks.html">ListAttachedLinks</a> from
within the monitoring account.
</p>

@param listLinksRequest
@return Result of the ListLinks operation returned by the service.
@throws InternalServiceException
        Unexpected error while processing the request. Retry the request.
@throws InvalidParameterException
        A parameter is specified incorrectly.
@throws ResourceNotFoundException
        The request references a resource that does not exist.
@sample AWSOAM.ListLinks
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/ListLinks" target="_top">AWS API
     Documentation</a>
aws-java-sdk-oam/src/main/java/com/amazonaws/services/oam/AWSOAMClient.java