Retrieves all fields of a specified data table. This is an internal operation.
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 data source type.
Valid values:
|
rds |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| params |
string |
Yes |
The data source parameters. A JSON string that must be URL-encoded. The parameters vary by data source type. For more information, see: |
{} |
| rawType |
boolean |
No |
Specifies whether to return the original field types of the data source. |
false |
| zoneId |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
{} |
|
| result |
object |
The collection of data source tables. |
{} |
| requestId |
string |
The ID that uniquely identifies 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.