DeleteLink - Amazon CloudWatch Observability Access Manager

DeleteLink

Deletes a link between a monitoring account sink and a source account. You must run this operation in the source account.

POST /DeleteLink HTTP/1.1 Content-type: application/json { "Identifier": "string" }

The request does not use any URI parameters.

The request accepts the following data in JSON format.

The ARN of the link to delete.

Type: String

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

Required: Yes

HTTP/1.1 200

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

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

MissingRequiredParameterException

A required parameter is missing from the request.

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: