get_link
(**kwargs)¶Returns complete information about one link.
To use this operation, provide the link ARN. To retrieve a list of link ARNs, use ListLinks.
See also: AWS API Documentation
Request Syntax
response = client.get_link(
Identifier='string'
)
[REQUIRED]
The ARN of the link to retrieve information for.
{
'Arn': 'string',
'Id': 'string',
'Label': 'string',
'LabelTemplate': 'string',
'ResourceTypes': [
'string',
],
'SinkArn': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
The ARN of the link.
The random ID string that Amazon Web Services generated as part of the link ARN.
The label that you assigned to this link, with the variables resolved to their actual values.
The exact label template that was specified when the link was created, with the template variables not resolved.
The resource types supported by this link.
The ARN of the sink that is used for this link.
The tags assigned to the link.
Exceptions
CloudWatchObservabilityAccessManager.Client.exceptions.InternalServiceFault
CloudWatchObservabilityAccessManager.Client.exceptions.MissingRequiredParameterException
CloudWatchObservabilityAccessManager.Client.exceptions.InvalidParameterException
CloudWatchObservabilityAccessManager.Client.exceptions.ResourceNotFoundException