Queries the list of namespaces.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:ListNamespaces |
list |
*Namespace
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The pagination token. |
0 |
| Limit |
integer |
No |
The number of items per page. |
10 |
| Catalog |
string |
No |
The data catalog. |
my_catalog |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The response message. |
Operation success |
| RequestId |
string |
The request ID. |
34AD682D-5B91-5773-8132-AA38C130**** |
| Data |
object |
The response data. |
|
| Namespaces |
array |
The list of namespaces. |
|
| Namespace |
The namespace details. |
||
| NextToken |
string |
The next page token. |
10 |
| Total |
integer |
The total number of items. |
1 |
| Code |
string |
The response code. A value of 200 indicates success. |
200 |
| Success |
boolean |
Indicates whether the operation is successful. |
true |
Examples
Success response
JSON format
{
"Message": "Operation success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Data": {
"Namespaces": [
{
"Catalog": "my_catalog",
"Name": "my_namespace",
"Comment": "测试命名空间",
"properties": "{\"key\":\"value\"}"
}
],
"NextToken": "10",
"Total": 1
},
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.