@Override
    public UpdateLinkResult updateLink(UpdateLinkRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateLink(request);
    }
<p>
Use this operation to change what types of data are shared from a source account to its linked monitoring account
sink. You can't change the sink or change the monitoring account with this operation.
</p>
<p>
When you update a link, you can optionally specify filters that specify which metric namespaces and which log
groups are shared from the source account to the monitoring account.
</p>
<p>
To update the list of tags associated with the sink, use <a
href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_TagResource.html">TagResource</a>.
</p>

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