List DynamoDB tables
Retrieve a list of DynamoDB tables.
Query Parameters
- limit int64
Limits the size of the response on each page to the specified number of items.
- start string
Sets the page number used to browse the collection. Pages are indexed starting from 1 (i.e.,
?start=1
). - filter string
Narrows down the results to only the items that satisfy the filter criteria. The following table lists the supported filter fields for this resource and the filter conditions that can be applied on those fields:
For more information about filtering, refer to the Filtering section of this guide.Field Filter Condition Description environment_id $eq The Clumio-assigned ID of the AWS environment. name $contains The AWS-assigned name of this resource. For example, ?filter={"name":{"$contains":"dev"}}
retrieves all DynamoDB tables with "dev" in their name.table_native_id $eq The AWS-assigned ID of the DynamoDB Table. For example, ?filter={"table_native_id":{"$eq":"07463bd7-7b66-4748-921c-25c9a83c6c3c"}}
aws_region $eq The AWS region of a given account to which this resource belongs. For example, ?filter={"account_native_id":{"$eq":"789901323485"}, "aws_region":{"$eq":"us-east-1"}}
retrieves DynamoDB tables in region us-east-1 in account 789901323485.account_native_id $eq The AWS-assigned ID of the account to which this resource belongs. For example, ?filter={"account_native_id":{"$eq":"789901323485"}}
retrieves DynamoDB tables across all regions in account 789901323485.tags.id $all The Clumio-assigned ID(s) of AWS tag(s) applied to this resource. For example, ?filter={"tags.id":{"$all":["c764b152-5819-11ea-bb9f-b2e1c9a040ad","c764abb6-5819-11ea-bb9f-b2e1c9a040ad"]}}
retrieves all DynamoDB tables that are associated with the 2 AWS tags identified by these IDs. If multiple tags are specified, all of them must be applied to the same DynamoDB table.protection_info.policy_id $eq The Clumio-assigned ID of the policy protecting this resource. protection_status $in The protection status of this resource. Possible values include protected
,unprotected
, andunsupported
.deactivated $eq Filter assets protected by a deactivated policy. backup_status $in The backup status of this resource. Possible values include success
,partial_success
,failure
andno_backup
.is_deleted $eq,$in The deletion status of this resource. If not specified, retrieves only active DynamoDB tables. ?filter={"is_deleted":{"$in":["true","false"]}}
- 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-policy-definition Embeds the definition of the policy associated with this resource. Unprotected resources will not have an associated policy. For example, ?embed=read-policy-definition
- lookback_days int64
Calculate backup status for the last
lookback_days
days.
- 200
- default
Success
- application/api.clumio.aws-dynamodb-tables=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- current_count int64
The number of items listed on the current page.
- limit int64
The maximum number of items displayed per page in the response.
- start string
The page number used to get this response. Pages are indexed starting from 1 (i.e.,
"start": "1"
). - total_count int64
The total number of items, summed across all pages.
- total_pages_count int64
The total number of pages of results.
{
"_embedded": {
"items": [
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"create-backup-aws-dynamodb-table": {
"href": "string",
"templated": true,
"type": "string"
},
"list-backup-aws-dynamodb-tables": {
"href": "string",
"templated": true,
"type": "string"
},
"read-policy-definition": {
"href": "string",
"templated": true,
"type": "string"
},
"restore-aws-dynamodb-table": {
"href": "string",
"templated": true,
"type": "string"
}
},
"account_native_id": "string",
"aws_region": "string",
"backup_status_info": {
"backup_status": "string",
"last_failed_policy_start_timestamp": "string",
"last_successful_policy_start_timestamp": "string",
"operation_info_list": [
{
"backup_status": "string",
"last_failed_policy_start_timestamp": "string",
"last_successful_policy_start_timestamp": "string",
"operation": "string"
}
]
},
"billing_mode": "string",
"deletion_timestamp": "string",
"direct_assignment_policy_id": "string",
"earliest_continuous_snapshot_restorable_timestamp": "string",
"environment_id": "string",
"global_secondary_indexes": [
{
"index_name": "string",
"key_schema": [
{
"attribute_name": "string",
"key_type": "string"
}
],
"projection": {
"non_key_attributes": [
"string"
],
"projection_type": "string"
},
"provisioned_throughput": {
"read_capacity_units": 0,
"write_capacity_units": 0
}
}
],
"global_table_version": "string",
"has_direct_assignment": true,
"id": "string",
"is_deleted": true,
"is_supported": true,
"item_count": 0,
"last_snapshot_timestamp": "string",
"latest_continuous_snapshot_restorable_timestamp": "string",
"local_secondary_indexes": [
{
"index_name": "string",
"key_schema": [
{
"attribute_name": "string",
"key_type": "string"
}
],
"projection": {
"non_key_attributes": [
"string"
],
"projection_type": "string"
}
}
],
"name": "string",
"organizational_unit_id": "string",
"pitr_status": true,
"protection_info": {
"inheriting_entity_id": "string",
"inheriting_entity_type": "string",
"policy_id": "string"
},
"protection_status": "string",
"provisioned_throughput": {
"read_capacity_units": 0,
"write_capacity_units": 0
},
"replicas": [
{
"global_secondary_indexes": [
{
"index_name": "string",
"provisioned_throughput_override": {
"read_capacity_units": 0
}
}
],
"kms_master_key_id": "string",
"provisioned_throughput_override": {
"read_capacity_units": 0
},
"region_name": "string"
}
],
"size": 0,
"sse_specification": {
"kms_key_type": "string",
"kms_master_key_id": "string"
},
"stream_specification": {
"enabled": true,
"view_type": "string"
},
"table_arn": "string",
"table_class": "string",
"table_keys": {
"partition_key": {
"name": "string",
"type": "string"
},
"sort_key": {
"name": "string",
"type": "string"
}
},
"table_native_id": "string",
"table_status": "string",
"tags": [
{
"id": "string",
"key": "string",
"key_id": "string",
"value": "string"
}
],
"unsupported_reason": "string"
}
]
},
"_links": {
"_first": {
"href": "string",
"templated": true,
"type": "string"
},
"_last": {
"href": "string",
"templated": true,
"type": "string"
},
"_next": {
"href": "string",
"templated": true,
"type": "string"
},
"_prev": {
"href": "string",
"templated": true,
"type": "string"
},
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
},
"current_count": 0,
"limit": 0,
"start": "string",
"total_count": 0,
"total_pages_count": 0
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
GET /datasources/aws/dynamodb-tables
Authorization
Request
Request
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/datasources/aws/dynamodb-tables' \
-H 'Accept: application/api.clumio.aws-dynamodb-tables=v1+json' \
-H 'Authorization: Bearer <TOKEN>'