Creates a custom dataset.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreateDataset |
create |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DatasetName |
string |
Yes |
The name of the dataset. |
DatasetName |
| DatasetType |
string |
Yes |
The type of the dataset. Valid values:
|
JWT_BLOCKING |
| Description |
string |
No |
||
| Tag |
array<object> |
No |
The tags to add to the dataset. You can add multiple tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The key of the tag. |
env |
| Value |
string |
No |
The value of the tag. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DatasetId |
string |
The ID of the dataset. |
a25a6589b2584ff490e891cc******** |
| RequestId |
string |
The ID of the request. |
4173F95B-360C-460C-9F6C-4A96******** |
Examples
Success response
JSON format
{
"DatasetId": "a25a6589b2584ff490e891cc********",
"RequestId": "4173F95B-360C-460C-9F6C-4A96********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.