ListAttachedLinks - Amazon CloudWatch Observability Access Manager


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.

POST /ListAttachedLinks HTTP/1.1 Content-type: application/json { "MaxResults": number, "NextToken": "string", "SinkIdentifier": "string" }

The request does not use any URI parameters.

The request accepts the following data in JSON format.

Limits the number of returned links to the specified number.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No

The token for the next set of items to return. You received this token from a previous call.

Type: String

Required: No

The ARN of the sink that you want to retrieve links for.

Type: String

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_:\.\-\/]{0,2047}$

Required: Yes

HTTP/1.1 200 Content-type: application/json { "Items": [ { "Label": "string", "LinkArn": "string", "ResourceTypes": [ "string" ] } ], "NextToken": "string" }

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

An array of structures that contain the information about the attached links.

Type: Array of ListAttachedLinksItem objects

The token to use when requesting the next set of links.

Type: String

For information about the errors that are common to all actions, see Common Errors.


Unexpected error while processing the request. Retry the request.

HTTP Status Code: 500


A parameter is specified incorrectly.

HTTP Status Code: 400


A required parameter is missing from the request.

HTTP Status Code: 400


The request references a resource that does not exist.

HTTP Status Code: 404

For more information about using this API in one of the language-specific AWS SDKs, see the following: