Start a DynamoDB backup records retrieval query
Start a DynamoDB backup records retrieval query with the query filters provided in user input. If the query preview flag is set in the input then the result will be returned to the response otherwise the query will run in background and a task id will be returned.
Query Parameters
- embed string
Embeds the details of each associated resource. Set the parameter to one of the following embeddable links to include additional details associated with the resource.
For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.Embeddable Link Description read-task Embeds the associated task in the response. For example, ?embed=read-task
- application/json
Request Body
query_filter object required
source object required
target object required
- 200
- 202
- default
Records preview success
- application/api.clumio.restored-records-aws-dynamodb-tables=v1+json
- Schema
- Example (from schema)
Schema
_links object
preview_result object
{
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
},
"preview_result": {
"attributes": [
"string"
],
"items": [
[
"string"
]
]
}
}
Records restore request accepted
- application/api.clumio.restored-records-aws-dynamodb-tables=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- passcode string
passcode that the end-user must use to access the restored file, in case when restored file was emailed to the end-user as part of transparent data access.
- task_id string
The Clumio-assigned ID of the task generated by this request. The requested records will be available for asynchronous download when the Task completes. Use the GET /restores/aws/dynamodb-tables/records endpoint to list the records available for download.
If"preview":true
was set in the request, then a preview of the result will be given instead of a Task ID, and this field will be omitted.
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"read-task": {
"href": "string",
"templated": true,
"type": "string"
}
},
"passcode": "string",
"task_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /restores/aws/dynamodb-tables/records
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/restores/aws/dynamodb-tables/records' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.restored-records-aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"query_filter": {
"attribute_filters": [
{
"condition": "string",
"name": "string",
"type": "string",
"values": [
"string"
]
}
],
"partition_key": "string",
"sort_key_filter": {
"condition": "string",
"values": [
"string"
]
}
},
"source": {
"backup_id": "string"
},
"target": {
"direct_download": {},
"email": {
"message": "string",
"recipient_emails": [
"string"
]
},
"preview": true
}
}'