list_attached_links
(**kwargs)¶Returns a list of source account links that are linked to this monitoring account sink.
To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use ListSinks.
To find a list of links for one source account, use ListLinks.
See also: AWS API Documentation
Request Syntax
response = client.list_attached_links(
MaxResults=123,
NextToken='string',
SinkIdentifier='string'
)
[REQUIRED]
The ARN of the sink that you want to retrieve links for.
dict
Response Syntax
{
'Items': [
{
'Label': 'string',
'LinkArn': 'string',
'ResourceTypes': [
'string',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Items (list) --
An array of structures that contain the information about the attached links.
(dict) --
A structure that contains information about one link attached to this monitoring account sink.
Label (string) --
The label that was assigned to this link at creation, with the variables resolved to their actual values.
LinkArn (string) --
The ARN of the link.
ResourceTypes (list) --
The resource types supported by this link.
NextToken (string) --
The token to use when requesting the next set of links.
Exceptions
CloudWatchObservabilityAccessManager.Client.exceptions.InternalServiceFault
CloudWatchObservabilityAccessManager.Client.exceptions.MissingRequiredParameterException
CloudWatchObservabilityAccessManager.Client.exceptions.InvalidParameterException
CloudWatchObservabilityAccessManager.Client.exceptions.ResourceNotFoundException