CloudWatchObservabilityAccessManager / Client / list_attached_links
list_attached_links#
- CloudWatchObservabilityAccessManager.Client.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' )
- Parameters:
MaxResults (integer) – Limits the number of returned links to the specified number.
NextToken (string) – The token for the next set of items to return. You received this token from a previous call.
SinkIdentifier (string) –
[REQUIRED]
The ARN of the sink that you want to retrieve links for.
- Return type:
dict
- Returns:
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.
(string) –
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