DeleteReplicationJob
Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. Amazon deletes the contents of the Amazon S3 bucket used to store Amazon SMS artifacts. The AMIs created by the replication runs are not deleted.
Request Syntax
{
"replicationJobId": "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.
- replicationJobId
-
The ID of the replication job.
Type: String
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.
- InvalidParameterException
-
A specified parameter is not valid.
HTTP Status Code: 400
- MissingRequiredParameterException
-
A required parameter is missing.
HTTP Status Code: 400
- OperationNotPermittedException
-
This operation is not allowed.
HTTP Status Code: 400
- ReplicationJobNotFoundException
-
The specified replication job does not exist.
HTTP Status Code: 400
- UnauthorizedOperationException
-
You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: