选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

ListLinks - Amazon CloudWatch Observability Access Manager
此页面尚未翻译为您的语言。 请求翻译

ListLinks

Use this operation in a source account to return a list of links to monitoring account sinks that this source account has.

To find a list of links for one monitoring account sink, use ListAttachedLinks from within the monitoring account.

POST /ListLinks HTTP/1.1 Content-type: application/json { "MaxResults": number, "NextToken": "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 5.

Required: No

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

Type: String

Required: No

HTTP/1.1 200 Content-type: application/json { "Items": [ { "Arn": "string", "Id": "string", "Label": "string", "ResourceTypes": [ "string" ], "SinkArn": "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 returned links.

Type: Array of ListLinksItem 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.

InternalServiceFault

Unexpected error while processing the request. Retry the request.

HTTP Status Code: 500

InvalidParameterException

A parameter is specified incorrectly.

HTTP Status Code: 400

ResourceNotFoundException

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:

下一主题:

ListSinks

上一主题:

ListAttachedLinks
隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。