DeletePracticeRunConfiguration - Amazon Route 53 Application Recovery Controller

DeletePracticeRunConfiguration

Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.

Request Syntax

DELETE /configuration/resourceIdentifier HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

resourceIdentifier

The identifier for the resource that you want to delete the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

Length Constraints: Minimum length of 8. Maximum length of 1024.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "arn": "string", "name": "string", "zonalAutoshiftStatus": "string" }

Response Elements

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

The following data is returned in JSON format by the service.

arn

The Amazon Resource Name (ARN) of the resource that you deleted the practice run for.

Type: String

Length Constraints: Minimum length of 8. Maximum length of 1024.

Pattern: ^arn:.*$

name

The name of the resource that you deleted the practice run for.

Type: String

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

zonalAutoshiftStatus

The status of zonal autoshift for the resource.

Type: String

Valid Values: ENABLED | DISABLED

Errors

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

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

ConflictException

The request could not be processed because of conflict in the current state of the resource.

HTTP Status Code: 409

InternalServerException

There was an internal server error.

HTTP Status Code: 500

ResourceNotFoundException

The input requested a resource that was not found.

HTTP Status Code: 404

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 429

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

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