Creates a namespace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:CreateNamespace |
create |
*Namespace
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the namespace. |
my_namespace |
| Comment |
string |
No |
The comment. |
Test namespace |
| ClientToken |
string |
No |
The idempotency token. |
1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f |
| Catalog |
string |
No |
The data catalog to which the namespace belongs. |
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. |
|
| NamespaceARN |
string |
The ARN of the namespace. |
acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace |
| 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": {
"NamespaceARN": "acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace"
},
"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.