This internal API retrieves all fields from a specified data table.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:ListDataSourceTableFields |
get |
*All Resource
|
None | None |
Request syntax
GET /v4/openapi/assist/data-sources/{dataSourceType}/fields HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| dataSourceType |
string |
Yes |
The type of the data source.
Valid values:
|
rds |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| params |
string |
Yes |
The parameters for the data source. The value must be a URL-encoded JSON string. The parameters vary based on the data source type. For more information, see: |
{} |
| rawType |
boolean |
No |
Specifies whether to return the original field types of the data source. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
{} |
|
| result |
object |
The collection of fields from the data table. |
{} |
| requestId |
string |
The ID of the request. |
0A6EB64B-B4C8-CF02-810F-E660812972FF |
Examples
Success response
JSON format
{
"result": {},
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.