ListAlertManagerReceivers - Amazon Managed Service for Prometheus

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

ListAlertManagerReceivers

ListAlertManagerReceivers 作業會擷取警示管理員中設定接收器的相關資訊。

有效的 HTTP 動詞:

GET

有效 URI:

/workspaces/workspaceId/alertmanager/api/v2/receivers

URL 查詢參數:無

請求範例

GET /workspaces/ws-b226cc2a-a446-46a9-933a-ac50479a5568/alertmanager/api/v2/receivers HTTP/1.1 Content-Length: 0, Authorization: AUTHPARAMS X-Amz-Date: 20201201T193725Z User-Agent: Grafana/8.1.0

回應範例

HTTP/1.1 200 OK x-amzn-RequestId: 12345678-abcd-4442-b8c5-262b45e9b535 Content-Length: 19 Connection: keep-alive Date: Tue, 01 Dec 2020 19:37:25 GMT Content-Type: application/json Server: amazon vary: Origin [ { "name": "sns-0" } ]