DeleteRevision - AWS Data Exchange

DeleteRevision

This operation deletes a revision.

Request Syntax

DELETE /v1/data-sets/DataSetId/revisions/RevisionId HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

DataSetId

The unique identifier for a data set.

Required: Yes

RevisionId

The unique identifier for a revision.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 204

Response Elements

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

Errors

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

AccessDeniedException

Access to the resource is denied.

Message

Access to the resource is denied.

HTTP Status Code: 403

ConflictException

The request couldn't be completed because it conflicted with the current state of the resource.

Message

The request couldn't be completed because it conflicted with the current state of the resource.

ResourceId

The unique identifier for the resource with the conflict.

ResourceType

The type of the resource with the conflict.

HTTP Status Code: 409

InternalServerException

An exception occurred with the service.

Message

The message identifying the service exception that occurred.

HTTP Status Code: 500

ResourceNotFoundException

The resource couldn't be found.

Message

The resource couldn't be found.

ResourceId

The unique identifier for the resource that couldn't be found.

ResourceType

The type of resource that couldn't be found.

HTTP Status Code: 404

ThrottlingException

The limit on the number of requests per second was exceeded.

Message

The limit on the number of requests per second was exceeded.

HTTP Status Code: 429

ValidationException

The request was invalid.

ExceptionCause

The unique identifier for the resource that couldn't be found.

Message

The message that informs you about what was invalid about the request.

HTTP Status Code: 400

See Also

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