CloudWatchObservabilityAccessManager / Client / update_link
update_link#
- CloudWatchObservabilityAccessManager.Client.update_link(**kwargs)#
- 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. - To update the list of tags associated with the sink, use TagResource. - See also: AWS API Documentation - Request Syntax- response = client.update_link( Identifier='string', ResourceTypes=[ 'AWS::CloudWatch::Metric'|'AWS::Logs::LogGroup'|'AWS::XRay::Trace'|'AWS::ApplicationInsights::Application', ] ) - Parameters:
- Identifier (string) – - [REQUIRED] - The ARN of the link that you want to update. 
- ResourceTypes (list) – - [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. - (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Arn': 'string', 'Id': 'string', 'Label': 'string', 'LabelTemplate': 'string', 'ResourceTypes': [ 'string', ], 'SinkArn': 'string', 'Tags': { 'string': 'string' } } - Response Structure- (dict) – - Arn (string) – - The ARN of the link that you have updated. 
- Id (string) – - The random ID string that Amazon Web Services generated as part of the sink ARN. 
- Label (string) – - The label assigned to this link, with the variables resolved to their actual values. 
- LabelTemplate (string) – - The exact label template that was specified when the link was created, with the template variables not resolved. 
- ResourceTypes (list) – - The resource types now supported by this link. - (string) – 
 
- SinkArn (string) – - The ARN of the sink that is used for this link. 
- Tags (dict) – - The tags assigned to the link. - (string) – - (string) – 
 
 
 
 
 - Exceptions- CloudWatchObservabilityAccessManager.Client.exceptions.InternalServiceFault
- CloudWatchObservabilityAccessManager.Client.exceptions.MissingRequiredParameterException
- CloudWatchObservabilityAccessManager.Client.exceptions.InvalidParameterException
- CloudWatchObservabilityAccessManager.Client.exceptions.ResourceNotFoundException