Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
Operation description
Lists the data catalogs bound to a Luma Agent. 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 page count 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:ListLumaCatalogs |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentName |
string |
Yes |
The name of the agent. |
my_agent |
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 data catalogs bound to the agent, including entries and pagination information. |
|
| Catalogs |
array |
The list of data catalogs bound to the agent. |
[{"Name":"my_catalog"}] |
| Catalog |
The details of a single data catalog. |
||
| 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 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 data catalogs 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 call succeeds. A specific error description is returned if the call 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": {
"Catalogs": [
{
"Name": "my_catalog",
"Type": "RELATIONAL",
"Provider": "EventHouse",
"Comment": "Test data catalog",
"Properties": {
"IndexPattern": "my-index-*"
},
"ConnectionName": "my_connection"
}
],
"Limit": 10,
"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.