Menu
Amazon Route 53
API Reference

GetOperation

Gets information about any operation that returns an operation ID in the response, such as a CreateService request. To get a list of operations that match specified criteria, see ListOperations.

Request Syntax

{
   "OperationId": "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.

OperationId

The ID of the operation that you want to get more information about.

Type: String

Length Constraints: Maximum length of 64.

Required: Yes

Response Syntax

{
   "Operation": { 
      "CreateDate": number,
      "ErrorCode": "string",
      "ErrorMessage": "string",
      "Id": "string",
      "Status": "string",
      "Targets": { 
         "string" : "string" 
      },
      "Type": "string",
      "UpdateDate": number
   }
}

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.

Operation

A complex type that contains information about the operation.

Type: Operation object

Errors

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

OperationNotFound

No operation exists with the specified ID.

HTTP Status Code: 400

See Also

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