diff --git a/docs/dli/api-ref/ALL_META.TXT.json b/docs/dli/api-ref/ALL_META.TXT.json index eba9434d..cb7f8c49 100644 --- a/docs/dli/api-ref/ALL_META.TXT.json +++ b/docs/dli/api-ref/ALL_META.TXT.json @@ -173,7 +173,7 @@ "uri":"dli_02_0298.html", "product_code":"dli", "code":"18", - "des":"This API is used to obtain the agency information of a DLI user.URI formatGET /v2/{project_id}/agencyGET /v2/{project_id}/agencyParameter descriptionURI parametersParam", + "des":"This API is used to obtain the agency information of a DLI user.URI formatGET /v2/{project_id}/agencyGET /v2/{project_id}/agencyParameter descriptionURI parametersParamet", "doc_type":"api", "kw":"Obtaining DLI Agency Information,Agency-related APIs,API Reference", "title":"Obtaining DLI Agency Information", @@ -183,7 +183,7 @@ "uri":"dli_02_0299.html", "product_code":"dli", "code":"19", - "des":"This API is used to create an agency for a DLI user.URI formatPOST /v2/{project_id}/agencyPOST /v2/{project_id}/agencyParameter descriptionURI parametersParameterMandat", + "des":"This API is used to create an agency for a DLI user.URI formatPOST /v2/{project_id}/agencyPOST /v2/{project_id}/agencyParameter descriptionURI parametersParameterMandator", "doc_type":"api", "kw":"Creating a DLI Agency,Agency-related APIs,API Reference", "title":"Creating a DLI Agency", @@ -253,7 +253,7 @@ "uri":"dli_02_0284.html", "product_code":"dli", "code":"26", - "des":"This API is used to send an address connectivity test request to a specified queue and insert the test address into the table.URI formatPOST /v1.0/{project_id}/queues/{q", + "des":"This API is used to send an address connectivity test request to a specified queue and insert the test address into the table.URI formatPOST /v1.0/{project_id}/queues/{qu", "doc_type":"api", "kw":"Creating an Address Connectivity Test Request,Queue-related APIs (Recommended),API Reference", "title":"Creating an Address Connectivity Test Request", @@ -263,7 +263,7 @@ "uri":"dli_02_0285.html", "product_code":"dli", "code":"27", - "des":"This API is used to query the connectivity test result after the test is submitted.URI formatGET /v1.0/{project_id}/queues/{queue_name}/connection-test/{task_id}GET /v1", + "des":"This API is used to query the connectivity test result after the test is submitted.URI formatGET /v1.0/{project_id}/queues/{queue_name}/connection-test/{task_id}GET /v1.0", "doc_type":"api", "kw":"Querying Connectivity Test Details of a Specified Address,Queue-related APIs (Recommended),API Refer", "title":"Querying Connectivity Test Details of a Specified Address", @@ -273,7 +273,7 @@ "uri":"dli_02_0291.html", "product_code":"dli", "code":"28", - "des":"This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.URI formatPOST /v1/{project_id}/queues/{queue_name}/plan", + "des":"This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.URI formatPOST /v1/{project_id}/queues/{queue_name}/plans", "doc_type":"api", "kw":"Creating a Scheduled CU Change,Queue-related APIs (Recommended),API Reference", "title":"Creating a Scheduled CU Change", @@ -303,7 +303,7 @@ "uri":"dli_02_0294.html", "product_code":"dli", "code":"31", - "des":"This API is used to delete a scheduled CU change for a queue with a specified ID.URI formatDELETE /v1/{project_id}/queues/{queue_name}/plans/{plan_id}DELETE /v1/{projec", + "des":"This API is used to delete a scheduled CU change for a queue with a specified ID.URI formatDELETE /v1/{project_id}/queues/{queue_name}/plans/{plan_id}DELETE /v1/{project_", "doc_type":"api", "kw":"Deleting a Scheduled CU Change,Queue-related APIs (Recommended),API Reference", "title":"Deleting a Scheduled CU Change", @@ -313,7 +313,7 @@ "uri":"dli_02_0295.html", "product_code":"dli", "code":"32", - "des":"This API is used to modify a scheduled CU change for a queue with a specified ID.URI formatPUT /v1/{project_id}/queues/{queue_name}/plans/{plan_id}PUT /v1/{project_id}/", + "des":"This API is used to modify a scheduled CU change for a queue with a specified ID.URI formatPUT /v1/{project_id}/queues/{queue_name}/plans/{plan_id}PUT /v1/{project_id}/qu", "doc_type":"api", "kw":"Modifying a Scheduled CU Change,Queue-related APIs (Recommended),API Reference", "title":"Modifying a Scheduled CU Change", @@ -643,7 +643,7 @@ "uri":"dli_02_0108.html", "product_code":"dli", "code":"65", - "des":"This API is used to preview the first ten rows of a table.URI formatGET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/previewGET /v1.0/{project_id}/dat", + "des":"This API is used to preview the first 10 rows in a table.URI formatGET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/previewGET /v1.0/{project_id}/data", "doc_type":"api", "kw":"Previewing Table Content,Table-related APIs,API Reference", "title":"Previewing Table Content", @@ -1125,8 +1125,8 @@ "code":"113", "des":"If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status", "doc_type":"api", - "kw":"Error Code,Public Parameters,API Reference", - "title":"Error Code", + "kw":"Error Codes,Public Parameters,API Reference", + "title":"Error Codes", "githuburl":"" }, { diff --git a/docs/dli/api-ref/CLASS.TXT.json b/docs/dli/api-ref/CLASS.TXT.json index 0e75a24e..68fc2d59 100644 --- a/docs/dli/api-ref/CLASS.TXT.json +++ b/docs/dli/api-ref/CLASS.TXT.json @@ -153,7 +153,7 @@ "code":"17" }, { - "desc":"This API is used to obtain the agency information of a DLI user.URI formatGET /v2/{project_id}/agencyGET /v2/{project_id}/agencyParameter descriptionURI parametersParam", + "desc":"This API is used to obtain the agency information of a DLI user.URI formatGET /v2/{project_id}/agencyGET /v2/{project_id}/agencyParameter descriptionURI parametersParamet", "product_code":"dli", "title":"Obtaining DLI Agency Information", "uri":"dli_02_0298.html", @@ -162,7 +162,7 @@ "code":"18" }, { - "desc":"This API is used to create an agency for a DLI user.URI formatPOST /v2/{project_id}/agencyPOST /v2/{project_id}/agencyParameter descriptionURI parametersParameterMandat", + "desc":"This API is used to create an agency for a DLI user.URI formatPOST /v2/{project_id}/agencyPOST /v2/{project_id}/agencyParameter descriptionURI parametersParameterMandator", "product_code":"dli", "title":"Creating a DLI Agency", "uri":"dli_02_0299.html", @@ -225,7 +225,7 @@ "code":"25" }, { - "desc":"This API is used to send an address connectivity test request to a specified queue and insert the test address into the table.URI formatPOST /v1.0/{project_id}/queues/{q", + "desc":"This API is used to send an address connectivity test request to a specified queue and insert the test address into the table.URI formatPOST /v1.0/{project_id}/queues/{qu", "product_code":"dli", "title":"Creating an Address Connectivity Test Request", "uri":"dli_02_0284.html", @@ -234,7 +234,7 @@ "code":"26" }, { - "desc":"This API is used to query the connectivity test result after the test is submitted.URI formatGET /v1.0/{project_id}/queues/{queue_name}/connection-test/{task_id}GET /v1", + "desc":"This API is used to query the connectivity test result after the test is submitted.URI formatGET /v1.0/{project_id}/queues/{queue_name}/connection-test/{task_id}GET /v1.0", "product_code":"dli", "title":"Querying Connectivity Test Details of a Specified Address", "uri":"dli_02_0285.html", @@ -243,7 +243,7 @@ "code":"27" }, { - "desc":"This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.URI formatPOST /v1/{project_id}/queues/{queue_name}/plan", + "desc":"This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.URI formatPOST /v1/{project_id}/queues/{queue_name}/plans", "product_code":"dli", "title":"Creating a Scheduled CU Change", "uri":"dli_02_0291.html", @@ -270,7 +270,7 @@ "code":"30" }, { - "desc":"This API is used to delete a scheduled CU change for a queue with a specified ID.URI formatDELETE /v1/{project_id}/queues/{queue_name}/plans/{plan_id}DELETE /v1/{projec", + "desc":"This API is used to delete a scheduled CU change for a queue with a specified ID.URI formatDELETE /v1/{project_id}/queues/{queue_name}/plans/{plan_id}DELETE /v1/{project_", "product_code":"dli", "title":"Deleting a Scheduled CU Change", "uri":"dli_02_0294.html", @@ -279,7 +279,7 @@ "code":"31" }, { - "desc":"This API is used to modify a scheduled CU change for a queue with a specified ID.URI formatPUT /v1/{project_id}/queues/{queue_name}/plans/{plan_id}PUT /v1/{project_id}/", + "desc":"This API is used to modify a scheduled CU change for a queue with a specified ID.URI formatPUT /v1/{project_id}/queues/{queue_name}/plans/{plan_id}PUT /v1/{project_id}/qu", "product_code":"dli", "title":"Modifying a Scheduled CU Change", "uri":"dli_02_0295.html", @@ -576,7 +576,7 @@ "code":"64" }, { - "desc":"This API is used to preview the first ten rows of a table.URI formatGET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/previewGET /v1.0/{project_id}/dat", + "desc":"This API is used to preview the first 10 rows in a table.URI formatGET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/previewGET /v1.0/{project_id}/data", "product_code":"dli", "title":"Previewing Table Content", "uri":"dli_02_0108.html", @@ -1010,7 +1010,7 @@ { "desc":"If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status", "product_code":"dli", - "title":"Error Code", + "title":"Error Codes", "uri":"dli_02_0056.html", "doc_type":"api", "p_code":"111", diff --git a/docs/dli/api-ref/dli_02_00003.html b/docs/dli/api-ref/dli_02_00003.html index 69640514..9f98ace2 100644 --- a/docs/dli/api-ref/dli_02_00003.html +++ b/docs/dli/api-ref/dli_02_00003.html @@ -2,13 +2,19 @@
Released On +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0019.html b/docs/dli/api-ref/dli_02_0019.html
index 24367a2d..7fe82a55 100644
--- a/docs/dli/api-ref/dli_02_0019.html
+++ b/docs/dli/api-ref/dli_02_0019.html
@@ -357,7 +357,8 @@
|
---|
{ +Example Request
Import the CSV data stored on OBS to db2.t2.
+{ "data_path": "obs://home/data1/DLI/t1.csv", "data_type": "csv", "database_name": "db2", @@ -410,7 +411,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Boolean
Whether to export column names when exporting CSV and JSON data.
-{ +Example Request
Export data from db2.t2 to OBS and store the data in JSON format.
+{ "data_path": "obs://home/data1/DLI/test", "data_type": "json", "database_name": "db2", @@ -216,7 +217,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
String
JSON character string for information about related columns.
+JSON string for information about related columns.
statement
@@ -308,7 +308,7 @@ -If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Boolean
Whether to export column names when exporting CSV and JSON data.
-limit_num
@@ -181,7 +181,8 @@ -{ +Example Request
Export query results of SQL statements to OBS and stores the results in JSON format.
+{ "data_path": "obs://obs-bucket1/path", "data_type": "json", "compress": "gzip", @@ -224,7 +225,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
String
JSON character string of related columns queried by using SQL statements.
+JSON string of related columns queried using SQL statements.
statement
@@ -495,7 +495,7 @@ -If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
Create a test database named db1.
+{ "database_name": "db1", "description": "this is for test" }@@ -187,7 +188,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0030.html b/docs/dli/api-ref/dli_02_0030.html
index 3a45942b..45c31979 100644
--- a/docs/dli/api-ref/dli_02_0030.html
+++ b/docs/dli/api-ref/dli_02_0030.html
@@ -37,7 +37,7 @@
|
---|
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0033.html b/docs/dli/api-ref/dli_02_0033.html
index 37921312..23f68716 100644
--- a/docs/dli/api-ref/dli_02_0033.html
+++ b/docs/dli/api-ref/dli_02_0033.html
@@ -341,7 +341,7 @@
|
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
- Create a table whose data_location is OBS and data format of CSV.
{ "table_name": "tb1", "data_location": "OBS", "description": "", @@ -334,7 +334,7 @@ }-![]()
The values of date_format and timestamp_format must be the same as the time format in the imported CSV file.
- Sample request when data_location is VIEW.
{ +- Create a table whose data_location is VIEW.
{ "table_name": "view1", "data_location": "VIEW", "columns": [ @@ -387,7 +387,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0037.html b/docs/dli/api-ref/dli_02_0037.html
index 9e3396f7..30c50e5f 100644
--- a/docs/dli/api-ref/dli_02_0037.html
+++ b/docs/dli/api-ref/dli_02_0037.html
@@ -46,7 +46,7 @@
|
-String Name of a queue. +Name of a queue. Example value: queue1. | ||||
---|---|---|---|---|---|
user_name @@ -55,7 +55,7 @@ |
String |
-Name of the user who is granted with usage permission on a queue or whose queue usage permission is revoked or updated. + | Name of the user who is granted with usage permission on a queue or whose queue usage permission is revoked or updated. Example value: tenant2. |
||
action @@ -64,7 +64,7 @@ |
String |
-Grants or revokes the permission. The parameter value can be grant, revoke, or update. Users can perform the update operation only when they have been granted with the grant and revoke permissions. + | Grants or revokes the permission. The parameter value can be grant, revoke, or update. Users can perform the update operation only when they have been granted with the grant and revoke permissions. Example value: grant.
|
Array of Strings |
-List of permissions to be granted, revoked, or updated. The following permissions are supported: -
|
Boolean |
-Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed. + | Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed. Example value: true. |
message @@ -110,14 +110,15 @@ |
String |
-System prompt. If execution succeeds, the parameter setting may be left blank. + | System prompt. If execution succeeds, the parameter setting may be left blank. Example value: left blank. |
{ +Example Request
Grant a user the permission to submit jobs on queue1 and delete queue1.
+{ "queue_name": "queue1", "user_name": "tenant2", "action": "grant", @@ -156,7 +157,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0039.html b/docs/dli/api-ref/dli_02_0039.html
index 5f6f0710..e8ace9fa 100644
--- a/docs/dli/api-ref/dli_02_0039.html
+++ b/docs/dli/api-ref/dli_02_0039.html
@@ -46,7 +46,7 @@
|
-String Name of the user who is granted with usage permission on a queue or whose queue usage permission is revoked or updated. +Name of the user who is granted with usage permission on a queue or whose queue usage permission is revoked or updated. Example value: user2. | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action @@ -55,7 +55,7 @@ |
String |
-Grants or revokes the permission. The parameter value can be grant, revoke, or update. + | Grants or revokes the permission. The parameter value can be grant, revoke, or update. Example value: grant.
NOTE:
@@ -67,7 +67,8 @@
Users can perform the update operation only when they have been granted with the grant and revoke permissions. |
Array of Objects |
-Permission granting information. For details, see Table 3. + | Permission granting information. For details, see Table 3. Example value: +[ {"object": "databases.db1.tables.tb2.columns.column1","privileges": ["SELECT"]},"object": "databases.db1.tables.tbl","privileges": [ "DROP_TABLE"] |
String |
Data objects to be assigned. If they are named: -
|
||||||||||||||||||||
privileges @@ -100,7 +102,7 @@ |
Array of Strings |
-List of permissions to be granted, revoked, or updated. + | List of permissions to be granted, revoked, or updated. Example value: [SELECT]. NOTE:
If Action is Update and the update list is empty, all permissions of the user in the database or table are revoked. |
@@ -126,7 +128,7 @@
Boolean |
-Whether the request is successfully executed. Value true indicates that the request is successfully executed. + | Whether the request is successfully executed. Value true indicates that the request is successfully executed. Example value: true. |
||||||||||||||||||||||
message @@ -135,14 +137,15 @@ |
String |
-System prompt. If execution succeeds, the parameter setting may be left blank. + | System prompt. If execution succeeds, the parameter setting may be left blank. Example value: left blank. |
{ +Example Request
Grant user2 the permission to query data in the database db1, delete the data table db1.tbl, and query data in a specified column db1.tbl.column1 of a data table.
+{ "user_name": "user2", "action": "grant", "privileges": [ @@ -199,7 +202,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Boolean
Whether the request is successfully executed. Value true indicates that the request is successfully executed.
+Whether the request is successfully executed. Value true indicates that the request is successfully executed. Example value: true.
message
@@ -60,7 +60,7 @@String
System prompt. If execution succeeds, the parameter setting may be left blank.
+System prompt. If execution succeeds, the parameter setting may be left blank. Example value: left blank.
database_name
@@ -69,7 +69,7 @@String
Name of the database to be queried.
+Name of the database to be queried. Example value: dsstest.
privileges
@@ -101,7 +101,7 @@Boolean
Whether the database user is an administrator.
+Whether the database user is an administrator. Example value: true.
user_name
@@ -110,7 +110,7 @@String
Name of the user who has permission on the current database.
+Name of the user who has permission on the current database. Example value: test.
privileges
@@ -119,7 +119,7 @@Array of Strings
Permission of the user on the database.
+Permission of the user on the database. Example value: [ALTER_TABLE_ADD_PARTITION].
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Boolean
Whether the table user is an administrator.
+Determines whether a user is an administrator. The value false indicates that the user is not an administrator, and the value true indicates that the user is an administrator.
object
@@ -158,7 +158,7 @@ } ] } -If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Boolean
Whether the request is successfully executed. Value true indicates that the request is successfully executed.
+Whether the request is successfully executed. Value true indicates that the request is successfully executed. Example value: true.
message
@@ -84,7 +84,7 @@String
System prompt. If execution succeeds, the parameter setting may be left blank.
+System prompt. If execution succeeds, the parameter setting may be left blank. Example value: left blank.
user_name
@@ -126,7 +126,8 @@String
Objects on which a user has permission.
-Example value: databases.dsstest.tables.obs_231.
+privileges
@@ -135,7 +136,7 @@Array of Strings
Permission of the user on a specified object.
+Permission of the user on a specified object. Example value: [DESCRIBE_TABLE].
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status code 4xx or 5xx is returned. The response body contains the specific error code and information. If you are unable to identify the cause of an error, contact technical personnel and provide the error code so that we can help you solve the problem as soon as possible.
If an error occurs during API calling, the system returns an error code and a message to you. The following shows the format of an error response body:
{ diff --git a/docs/dli/api-ref/dli_02_0102.html b/docs/dli/api-ref/dli_02_0102.html index 8a038834..56fec221 100644 --- a/docs/dli/api-ref/dli_02_0102.html +++ b/docs/dli/api-ref/dli_02_0102.html @@ -277,7 +277,8 @@
{ +Example Request
Submit a SQL job. The job execution database and queue are db1 and default, respectively. Then, add the tags workspace=space1 and jobName=name1 for the job.
+{ "currentdb": "db1", "sql": "desc table1", "queue_name": "default", @@ -354,7 +355,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
Check the syntax of the SQL statement select * from t1.
+{ "currentdb": "db1", "sql": "select * from t1" }@@ -144,7 +145,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
This API is used to preview the first ten rows of a table.
+This API is used to preview the first 10 rows in a table.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0124.html b/docs/dli/api-ref/dli_02_0124.html
index 870082f2..d57de124 100644
--- a/docs/dli/api-ref/dli_02_0124.html
+++ b/docs/dli/api-ref/dli_02_0124.html
@@ -214,7 +214,7 @@
|
-Integer Number of Executors in a Spark application. This configuration item replaces the default parameter in sc_type. +Number of Executors in a Spark application. This configuration item replaces the default parameter in sc_type. | ||||
---|---|---|---|---|---|
obs_bucket @@ -494,7 +494,7 @@ | String |
Queue name. Set this parameter to the name of the created DLI queue. - NOTE:
NOTE:
|
{ +Example Request
Create a Spark job. Set the Spark main class of the job to org.apache.spark.examples.SparkPi, specify the program package to batchTest/spark-examples_2.11-2.1.0.luxor.jar, and load the program package whose type is jar and the resource package whose type is files.
+{ "file": "batchTest/spark-examples_2.11-2.1.0.luxor.jar", - "class_name": "org.apache.spark.examples.SparkPi", + "className": "org.apache.spark.examples.SparkPi", "sc_type": "A", "jars": ["demo-1.0.0.jar"], "files": ["count.txt"], @@ -639,7 +640,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0127.html b/docs/dli/api-ref/dli_02_0127.html
index dab2a612..6d32f3a8 100644
--- a/docs/dli/api-ref/dli_02_0127.html
+++ b/docs/dli/api-ref/dli_02_0127.html
@@ -35,7 +35,7 @@
RequestNone Response-
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0129.html b/docs/dli/api-ref/dli_02_0129.html
index 49ef7fa5..8372aaff 100644
--- a/docs/dli/api-ref/dli_02_0129.html
+++ b/docs/dli/api-ref/dli_02_0129.html
@@ -99,7 +99,7 @@
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0130.html b/docs/dli/api-ref/dli_02_0130.html
index c43c2ee5..3d4662e7 100644
--- a/docs/dli/api-ref/dli_02_0130.html
+++ b/docs/dli/api-ref/dli_02_0130.html
@@ -5,7 +5,7 @@
URI
Example Request{ + |
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0195.html b/docs/dli/api-ref/dli_02_0195.html
index f4413e60..f457003c 100644
--- a/docs/dli/api-ref/dli_02_0195.html
+++ b/docs/dli/api-ref/dli_02_0195.html
@@ -7,7 +7,7 @@
URI
Example Request{ + |
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
POST /v1.0/{project_id}/queues
dli:queue:create_queue
+dli:queue:createQueue
-
DELETE /v1.0/{project_id}/queues/{queue_name}
dli:queue:drop_queue
+dli:queue:dropQueue
-
POST /v1.0/{project_id}/jobs/submit-job
dli:queue:submit_job
+dli:queue:submitJob
-
DELETE /v1.0/{project_id}/jobs/{job_id}
dli:queue:cancel_job
+dli:queue:cancelJob
-
GET /v1.0/{project_id}/queues/{queue_name}/users
dli:queue:show_privileges
+dli:queue:showPrivileges
-
PUT /v1.0/{project_id}/queues/{queue_name}/action
dli:queue:scale_queue
+dli:queue:scaleQueue
-
×
Granting permissions to a specified user queue
+Granting elastic resource pool permissions
PUT /v1.0/{project_id}/user-authorization
dli:queue:grant_privilege
+dli:elasticresourcepool:grantPrivilege
-
×
Removing permissions of a specified user queue
+Revoking elastic resource pool permissions
POST /v1.0/{project_id}/databases
+PUT /v1.0/{project_id}/user-authorization
dli:database:create_database
+dli:elasticresourcepool:revokePrivilege
-
POST /v1.0/{project_id}/databases
dli:database:create_database
+dli:database:createDatabase
-
DELETE /v1.0/{project_id}/databases/{database_name}
dli:database:drop_database
+dli:database:dropDatabase
-
POST /v1.0/{project_id}/jobs/submit-job
dli:database:alter_database_properties
+dli:database:alterDatabaseProperties
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:explain
+dli:database:explain
-
POST /v1.0/{project_id}/databases/{database_name}/tables
dli:database:create_table
+dli:database:createTable
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
database:create_view
+dli:database:createView
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:create_function
+dli:database:createFunction
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:describe_function
+dli:database:describeFunction
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:drop_function
+dli:database:dropFunction
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:show_functions
+dli:database:showFunctions
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:create_role
+dli:database:createRole
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:drop_role
+dli:database:dropRole
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:show_roles
+dli:database:showRoles
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:show_all_roles
+dli:database:showAllRoles
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:grant_role
+dli:database:grantRole
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:revoke_role
+dli:database:revokeRole
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:database:show_users
+dli:database:showUsers
-
GET /v1.0/{project_id}/databases/{database_name}/users
dli:database:show_privileges
+dli:database:showPrivileges
-
GET /v1.0/{project_id}/databases
dli:database:display_all_databases
+dli:database:displayAllDatabases
-
GET /v1.0/{project_id}/databases
dli:database:display_all_tables
+dli:database:displayAllTables
-
PUT /v1.0/{project_id}/user-authorization
dli:database:grant_privilege
+dli:database:grantPrivilege
-
PUT /v1.0/{project_id}/user-authorization
dli:database:revoke_privilege
+dli:database:revokePrivilege
-
DELETE /v1.0/{project_id}/databases/{database_name}/tables/{table_name}
dli:table:drop_table
+dli:table:dropTable
-
GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}
dli:table:describe_table
+dli:table:describeTable
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:show_table_properties
+dli:table:showTableProperties
-
GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/preview
dli:table:show_create_table
+dli:table:showCreateTable
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:show_partitions
+dli:table:showPartitions
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_set_properties
+dli:table:alterTableSetProperties
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_add_columns
+dli:table:alterTableAddColumns
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_add_partition
+dli:table:alterTableAddPartition
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_rename_partition
+dli:table:alterTableRenamePartition
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_drop_partition
+dli:table:alterTableDropPartition
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_recover_partition
+dli:table:alterTableRecoverPartition
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_rename
+dli:table:alterTableRename
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_table_set_location
+dli:table:alterTableSetLocation
-
POST /v1.0/{project_id}/jobs/submit-job, statement invoking
dli:table:insert_into_table
+dli:table:insertIntoTable
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:insert_overwrite_table
+dli:table:insertOverwriteTable
-
GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/users
dli:table:show_privileges
+dli:table:showPrivileges
-
POST /v1.0/{project_id}/jobs/submit-job
dli:table:truncate_table
+dli:table:truncateTable
-
POST /v1.0/{project_id}/jobs/submit-job
dli:table:alter_table_change_column
+dli:table:alterTableChangeColumn
-
POST /v1.0/{project_id}/jobs/submit-job
dli:table:alter_table_drop_columns
+dli:table:alterTableDropColumns
-
POST /v1.0/{project_id}/jobs/submit-job
dli:table:show_segments
+dli:table:showSegments
-
POST /v1.0/{project_id}/jobs/submit-job
dli:table:compaction
+dli:table:compaction
-
POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking
dli:table:alter_view
+dli:table:alterView
-
×
Displaying a table
+Displaying the table structure
POST /v1.0/{project_id}/jobs/submit-job
dli:table:display_table
+dli:table:describeTable
-
PUT /v1.0/{project_id}/user-authorization
dli:table:grant_privilege
+dli:table:grantPrivilege
-
PUT /v1.0/{project_id}/user-authorization
dli:table:revoke_privilege
+dli:table:revokePrivilege
-
GET /v1.0/{project_id}/datasource/auth-infos/{auth_name}/users
dli:datasourceauth:show_privileges
+dli:datasourceauth:showPrivileges
-
POST /v1.0/{project_id}/jobs/submit-job
dli:datasourceauth:use_auth
+dli:datasourceauth:useAuth
-
DELETE /v2.0/{project_id}/datasource/auth-infos/{auth_info_name}
dli:datasourceauth:drop_auth
+dli:datasourceauth:dropAuth
-
×
Granting security authentication permissions to a specified user
-PUT /v1.0/{project_id}/user-authorization
-dli:datasourceauth:grant_privilege
--
-√
-×
-Updating security authentication information
PUT /v2.0/{project_id}/datasource/auth-infos
dli:datasourceauth:update_auth
+dli:datasourceauth:updateAuth
-
PUT /v1.0/{project_id}/user-authorization
dli:datasourceauth:grant_privilege
+dli:datasourceauth:grantPrivilege
-
PUT /v1.0/{project_id}/user-authorization
dli:datasourceauth:revoke_privilege
+dli:datasourceauth:revokePrivilege
-
GET /v1.0/:x_project_id/streaming/jobs
dli:jobs:list_all
+dli:jobs:listAll
-
PUT /v1.0/{{project_id}}/authorization
dli:jobs:grant_privilege
+dli:jobs:grantPrivilege
-
PUT /v1.0/{project_id}/user-authorization
dli:column:grant_privilege
+dli:column:grantPrivilege
-
PUT /v1.0/{project_id}/user-authorization
dli:column:revoke_privilege
+dli:column:revokePrivilege
-
GET /v1.0/:x_project_id/jobs
dli:jobs:list_job
+dli:jobs:listAll
-
GET /v1.0/:x_project_id/job/:job_id
dli:jobs:get_job
+dli:jobs:get
-
POST /v1.0/:x_project_id/sql_job
dli:jobs:create_job
+dli:jobs:create
-
PATCH /v1.0/:x_project_id/sql_job
dli:jobs:update_job
+dli:jobs:update
-
DELETE /v1.0/:x_project_id/job/:job_id
dli:jobs:delete_job
+dli:jobs:delete
-
POST v1.0/:x_project_id/job/:job_id/run
dli:queue:submit_job
+dli:jobs:start
-
POST /v1.0/:x_project_id/job/:job_id/stop
dli:queue:cancel_job
+dli:jobs:stop
-
Parameter +
Example Request{ + |
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
String
Stream SQL statement, which includes at least the following three parts: source, query, and sink. Length range: 1024x1024 characters.
+Stream SQL statement, which includes at least the following three parts: source, query, and sink. Length range: 1,024 x 1,024 characters.
run_mode
@@ -191,7 +191,7 @@Integer
Retention time of the idle state. The unit is hour. The default value is 1.
+Retention time of the idle state. The unit is second. The default value is 3600.
job_type
@@ -287,6 +287,15 @@Customizes optimization parameters when a Flink job is running.
flink_version
+No
+String
+Flink version. Currently, only 1.10 and 1.12 are supported.
+String
Tag key.
+A tag key can contain a maximum of 36 characters. Only letters, digits, hyphens (-), underscores (_), and spaces are allowed. The key cannot start or end with a space.
+value
@@ -317,6 +328,8 @@String
Tag key.
+A tag value can contain a maximum of 43 characters. Only letters, digits, hyphens (-), underscores (_), periods (.), and spaces are allowed. The value cannot start or end with a space.
+{ +Example Request
Use the template whose ID is 100000 to create a Flink SQL job named myjob. The job runs in dedicated mode on the testQueue queue.
+{ "name": "myjob", "desc": "This is a job used for counting characters.", "template_id": 100000, @@ -459,7 +473,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
String
Traffic or hit ratio of each operator, which is a character string in JSON format. Example:
+Traffic or hit ratio of each operator, which is a string in JSON format. Example:
{"operator_list":[{"id":"0a448493b4782967b150582570326227","rate_factor":0.55},{"id":"6d2677a0ecc3fd8df0b72ec675edf8f4","rate_factor":1},{"id":"ea632d67b7d595e5b851708ae9ad79d6","rate_factor":0.55},{"id":"bc764cd8ddf7a0cff126f51c16239658","output_rate":2000}]}
Customizes optimization parameters when a Flink job is running.
flink_version
+No
+String
+Flink version. Currently, only 1.10 and 1.12 are supported.
+{ +Example Request
Update an existing SQL job. The updated job is named myjob and runs on testQueue in shared mode.
+{ "name": "myjob", "desc": "My first job", "queue_name": "testQueue", @@ -415,7 +425,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
Create a Flink Jar job named test, set the job to be executed on testQueue, set the number of CUs used by the job, and enable the job log function.
+{ "name": "test", "desc": "job for test", "queue_name": "testQueue", @@ -420,7 +421,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Integer
Number of parallel operations selected for a job. The default value is 1.
+Number of parallel operations selected for a job. The default value is 1.
log_enabled
@@ -319,7 +319,8 @@ -{ +Example Request
Update the Flink Jar job information. After the update, the job name is test1, the job execution queue is testQueue, and the job log function is disabled.
+{ "name": "test1", "desc": "job for test", "job_type": "flink_jar_job", @@ -371,7 +372,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
Run the jobs whose IDs are 131, 130, 138, and 137 and allow the jobs to be restored from their latest savepoints.
+{ "job_ids": [131,130,138,137], "resume_savepoint": true }@@ -166,7 +167,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0236.html b/docs/dli/api-ref/dli_02_0236.html
index db215ad4..25821dee 100644
--- a/docs/dli/api-ref/dli_02_0236.html
+++ b/docs/dli/api-ref/dli_02_0236.html
@@ -196,7 +196,7 @@
|
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
Stop the jobs whose IDs are 128 and 137.
+{ "job_ids": [128, 137], "trigger_savepoint": false }@@ -149,7 +150,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +@@ -117,7 +118,7 @@Example Request
Delete the jobs whose IDs are 12 and 232.
+{ "job_ids":[12,232] }
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Example Request{ + |
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
{ +Example Request
Update job template information, including the template name, template description, and template SQL statements.
+{ "name": "simple_stream_sql", "desc": "Example of quick start", "sql_body": "select * from source_table" @@ -146,7 +147,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Example Request{ + |
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0261.html b/docs/dli/api-ref/dli_02_0261.html
index 85d9d395..e88e258a 100644
--- a/docs/dli/api-ref/dli_02_0261.html
+++ b/docs/dli/api-ref/dli_02_0261.html
@@ -28,7 +28,7 @@
---|
Parameter +
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code. +Error CodesIf an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
diff --git a/docs/dli/api-ref/dli_02_0285.html b/docs/dli/api-ref/dli_02_0285.html
index e4b536aa..a2703136 100644
--- a/docs/dli/api-ref/dli_02_0285.html
+++ b/docs/dli/api-ref/dli_02_0285.html
@@ -3,7 +3,7 @@
Querying Connectivity Test Details of a Specified AddressFunctionThis API is used to query the connectivity test result after the test is submitted. URI
|
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0292.html b/docs/dli/api-ref/dli_02_0292.html
index f56f17db..3ad5a89c 100644
--- a/docs/dli/api-ref/dli_02_0292.html
+++ b/docs/dli/api-ref/dli_02_0292.html
@@ -256,7 +256,7 @@
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0293.html b/docs/dli/api-ref/dli_02_0293.html
index a378f3d5..c24efb05 100644
--- a/docs/dli/api-ref/dli_02_0293.html
+++ b/docs/dli/api-ref/dli_02_0293.html
@@ -95,7 +95,8 @@
---|
{ +@@ -131,7 +132,7 @@Example Request
Delete the scaling plans whose IDs are 3 and 4.
+{ "plan_ids": [3,4] }
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0294.html b/docs/dli/api-ref/dli_02_0294.html
index 260fab09..547376c8 100644
--- a/docs/dli/api-ref/dli_02_0294.html
+++ b/docs/dli/api-ref/dli_02_0294.html
@@ -3,7 +3,7 @@
---|
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0295.html b/docs/dli/api-ref/dli_02_0295.html
index e9c76800..63a29b1f 100644
--- a/docs/dli/api-ref/dli_02_0295.html
+++ b/docs/dli/api-ref/dli_02_0295.html
@@ -3,7 +3,7 @@
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0296.html b/docs/dli/api-ref/dli_02_0296.html
index 2d697e12..cc8915bf 100644
--- a/docs/dli/api-ref/dli_02_0296.html
+++ b/docs/dli/api-ref/dli_02_0296.html
@@ -369,7 +369,7 @@
---|
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0298.html b/docs/dli/api-ref/dli_02_0298.html
index 42748d80..b5b1987a 100644
--- a/docs/dli/api-ref/dli_02_0298.html
+++ b/docs/dli/api-ref/dli_02_0298.html
@@ -3,7 +3,7 @@
---|
Error Code |
diff --git a/docs/dli/api-ref/dli_02_0299.html b/docs/dli/api-ref/dli_02_0299.html
index 9ab4816f..5579d148 100644
--- a/docs/dli/api-ref/dli_02_0299.html
+++ b/docs/dli/api-ref/dli_02_0299.html
@@ -3,7 +3,7 @@
---|
Parameter |
@@ -46,13 +46,10 @@
Array of Strings |
-Role. Currently, only obs_adm, dis_adm, ctable_adm, vpc_netadm, smn_adm, and te_admin are supported. -obs_adm: Administrator permissions for accessing and using the Object Storage Service. -dis_adm: Administrator permissions for using Data Ingestion Service data as the data source -ctable_adm: Administrator permissions for accessing and using the CloudTable service -vpc_netadm: Administrator permissions for using the Virtual Private Cloud service -smn_adm: Administrator permissions for using the Simple Message Notification service -te_admin: Tenant Administrator permissions + | Role. +Currently, only obs_adm, dis_adm, ctable_adm, vpc_netadm, smn_adm, and te_admin are supported. ++
|
---|
{ +Example Request
Create a DLI user agency. The agency has the following permissions: CloudTable Administrator for accessing and using CloudTable, VPC Administrator for using VPC, DIS Administrator for accessing and using DIS, SMN Administrator for using SMN, and accessing and using OBS.
+{ "roles": [ "ctable_adm", "vpc_netadm", @@ -129,7 +127,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
String
Job type, including DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE and SCALE_QUEUE.
-Currently, you can only query execution results of jobs of the QUERY type.
+Currently, you can only query execution results of jobs of the QUERY type.
row_count
@@ -147,7 +147,7 @@No
Array of Objects
+Array of Objects
Name and type of the job result column.
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.
String
Job types. Only flink_opensource_sql_job job is supported.
+Job types.
+Only flink_opensource_sql_job job is supported.
graph_type
@@ -137,7 +138,7 @@String
Traffic or hit ratio of each operator, which is a character string in JSON format.
+Traffic or hit ratio of each operator, which is a string in JSON format.
{ +Example Request
Generate a static stream graph for a Flink SQL job.
+{ "cu_number": 4, "manager_cu_number": 1, "parallel_number": 4, @@ -238,7 +240,7 @@
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Code.
+If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.