DeleteMalwareProtectionPlan - Amazon GuardDuty

DeleteMalwareProtectionPlan

Deletes the Malware Protection plan ID associated with the Malware Protection plan resource. Use this API only when you no longer want to protect the resource associated with this Malware Protection plan ID.

Request Syntax

DELETE /malware-protection-plan/malwareProtectionPlanId HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

malwareProtectionPlanId

A unique identifier associated with Malware Protection plan resource.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200

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.

AccessDeniedException

An access denied exception object.

HTTP Status Code: 403

BadRequestException

A bad request exception object.

HTTP Status Code: 400

InternalServerErrorException

An internal server error exception object.

HTTP Status Code: 500

ResourceNotFoundException

The requested resource can't be found.

HTTP Status Code: 404

See Also

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