DeleteOpsMetadata - AWS Systems Manager

DeleteOpsMetadata

Delete OpsMetadata related to an application.

Request Syntax

{ "OpsMetadataArn": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

OpsMetadataArn

The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: arn:(aws[a-zA-Z-]*)?:ssm:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:opsmetadata\/([a-zA-Z0-9-_\.\/]*)

Required: Yes

Response Elements

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

Errors

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

InternalServerError

An error occurred on the server side.

HTTP Status Code: 500

OpsMetadataInvalidArgumentException

One of the arguments passed is invalid.

HTTP Status Code: 400

OpsMetadataNotFoundException

The OpsMetadata object does not exist.

HTTP Status Code: 400

See Also

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