Cancels an index creation job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:CancelCreateIndexJob |
update |
*Collection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the cluster. Note
Call the DescribeRegions operation to query available regions. |
cn-hangzhou |
| DBInstanceId |
string |
No |
The cluster ID. Note
Call the DescribeDBInstances operation to query all AnalyticDB for PostgreSQL instances in a region, including instance IDs. |
gp-xxxxxxxxx |
| WorkspaceId |
string |
No |
The workspace ID. A workspace consists of multiple AnalyticDB for PostgreSQL instances. Specify either WorkspaceId or DBInstanceId. If both are specified, WorkspaceId takes precedence. Valid values:
|
gp-ws-***** |
| Namespace |
string |
Yes |
The namespace name. Note
Call the CreateNamespace operation to create a namespace, or the ListNamespaces operation to query existing namespaces. |
mynamespace |
| NamespacePassword |
string |
Yes |
The password of the namespace. Note
Specified when you call the CreateNamespace operation. |
testpassword |
| Collection |
string |
Yes |
The name of the collection. Note
Call the ListCollections operation to query existing collections. |
testcollection |
| JobId |
string |
Yes |
The index creation job ID, returned by the |
231460f8-75dc-405e-a669-0c5204887e91 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D0521 |
| Message |
string |
The returned message. |
success |
| Status |
string |
The status of the operation. Valid values:
|
success |
Examples
Success response
JSON format
{
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
"Message": "success",
"Status": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.