Skip to content

List Attached Links

cloudwatchobservabilityaccessmanager_list_attached_links R Documentation

Description

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 list_sinks.

To find a list of links for one source account, use list_links.

Usage

cloudwatchobservabilityaccessmanager_list_attached_links(MaxResults,
  NextToken, SinkIdentifier)

Arguments

MaxResults

Limits the number of returned links to the specified number.

NextToken

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

SinkIdentifier

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

Value

A list with the following syntax:

list(
  Items = list(
    list(
      Label = "string",
      LinkArn = "string",
      ResourceTypes = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_attached_links(
  MaxResults = 123,
  NextToken = "string",
  SinkIdentifier = "string"
)