Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
Operation description
Lists the namespaces bound to a Luma Agent under a specified data catalog. 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 whether the last page has been reached.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:ListLumaNamespaces |
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 the ListLumaCatalogs operation to obtain the catalog name. |
my_catalog |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. A value of Success indicates a successful operation. If the operation fails, a specific error code is returned. |
Success |
| Data |
object |
The list of namespaces 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 |
| Namespaces |
array |
The list of namespaces bound to the agent. |
[{"Name":"my_namespace"}] |
| Namespace |
The details of a namespace. |
||
| 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 |
| TotalCount |
integer |
The total number of namespaces bound to the agent, regardless of the number of entries returned on the current page. |
10 |
| Message |
string |
The response message. A value of Operation success is returned if the operation succeeds. A specific error description is returned if the operation fails. |
Operation success |
| RequestId |
string |
The unique ID of the request. Use this ID for troubleshooting and when submitting a ticket. |
34AD682D-5B91-5773-8132-AA38C130**** |
| Success |
boolean |
Indicates whether the call is successful. A value of true indicates success. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"Limit": 10,
"Namespaces": [
{
"Catalog": "my_catalog",
"Name": "my_namespace",
"Comment": "测试命名空间",
"properties": "{\"key\":\"value\"}"
}
],
"NextToken": "10",
"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.