Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
Operation description
Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:ListLumaTables |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentName |
string |
Yes |
The name of the agent. |
my_agent |
| Catalog |
string |
Yes |
The name of the data catalog bound to the agent. You can call ListLumaCatalogs to obtain the catalog name. |
my_catalog |
| Namespace |
string |
Yes |
The name of the namespace bound to the agent. You can call ListLumaNamespaces to obtain the namespace name. |
my_namespace |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. A value of Success indicates a successful call. If the call fails, a specific error code is returned. |
Success |
| Data |
object |
The list of event tables bound to the agent, including entries and pagination information. |
|
| Limit |
integer |
The effective page size for this request. If the Limit parameter is not specified, the server default value is used. If the specified value exceeds the upper limit, the value is adjusted to the maximum allowed value. |
10 |
| NextToken |
string |
The token for the next page. Pass this value as the NextToken parameter in the next request to retrieve the next page. An empty value indicates that no more data is available. |
10 |
| Tables |
array |
The list of event tables bound to the agent. |
[{"Name":"my_table","Namespace":"my_namespace"}] |
| LumaTable |
The details of a single data table, including column definitions and the data retention policy. |
||
| TotalCount |
integer |
The total number of event tables bound to the agent, regardless of the number of entries returned on the current page. |
10 |
| Message |
string |
The message returned by the operation. The value Operation success is returned if the call succeeds. A specific error description is returned if the call fails. |
Operation success |
| RequestId |
string |
The unique identifier of this request, which is used for troubleshooting and ticket submission. |
34AD682D-5B91-5773-8132-AA38C130**** |
| Success |
boolean |
Indicates whether the call was successful. A value of true indicates a successful call. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"Limit": 10,
"NextToken": "10",
"Tables": [
{
"Catalog": "my_catalog",
"Columns": [
{
"Comment": "Primary key ID",
"Name": "id",
"Type": "bigint"
}
],
"Comment": "Test event table",
"CreateTime": 1717948800000,
"Name": "my_table",
"Namespace": "my_namespace",
"RetentionPolicy": {
"ColdTTL": 30,
"HotTTL": 7
},
"UpdateTime": 1717948800000
}
],
"TotalCount": 10
},
"Message": "Operation success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid | |
| 403 | ServiceNotEnable | Service not enable | |
| 404 | AgentNotFound | Agent not found | |
| 404 | ResourceNotFound | The specified resource is not bound to the agent |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.