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.
See https://www.paws-r-sdk.com/docs/cloudwatchobservabilityaccessmanager_update_link/ for full documentation.
cloudwatchobservabilityaccessmanager_update_link(Identifier, ResourceTypes)
[required] The ARN of the link that you want to update.
[required] An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.