All Products
Search
Document Center

:CancelIProductionJob

Last Updated:Jan 14, 2026

Cancels an intelligent production job.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ice:CancelIProductionJobnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
JobIdstringYes

The ID of the intelligent production job.

****20b48fb04483915d4f2cd8ac****

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

******11-DB8D-4A9A-875B-275798******
Messagestring

The message returned.

Success
AccessDeniedDetailobject

The details about the access denial. This parameter is returned only if Resource Access Management (RAM) permission verification failed.

AuthActionstring

The operation that failed the permission check.

ice:CancelIProductionJob
AuthPrincipalDisplayNamestring

The identity. Values:

  • RAM user: a UID
  • RAM role: RoleName:RoleSessionName
  • Federated user: ProviderType/ProviderName
****4522705967****
AuthPrincipalOwnerIdstring

The account to which the principal belongs.

****82303720****
AuthPrincipalTypestring

The type of identity that made the request. Valid values:

  • SubUser: RAM user
  • AssumedRoleUser: RAM role
  • Federated: SSO federated user
SubUser
EncodedDiagnosticMessagestring

The encoded diagnostic message.

******AAZ/h8jzNEODc5QUUyLUZCOTAtNUQyQy1BMEFBLUUzODQxODUx******==
NoPermissionTypestring

The type of policy that resulted in the denial. Valid values:

  • ImplicitDeny: The resource holder has not configured a policy for the current user. By default, unauthorized operations are denied.
  • ExplicitDeny: The RAM policy configured by the resource holder explicitly denies the current user access to the corresponding resources.
ImplicitDeny
PolicyTypestring

The type of policy that triggered the permission failure.

  • ControlPolicy: control policy
  • SessionPolicy: an additional policy attached to a temporary token.
  • AssumeRolePolicy: the trust policy of a RAM role.
  • AccountLevelIdentityBasedPolicy: an identity-based policy at the account level (custom or system).
  • ResourceGroupLevelIdentityBasedPolicy: an identity-based policy scoped to a resource group.
AssumeRolePolicy

Examples

Sample success responses

JSONformat

{
  "RequestId": "******11-DB8D-4A9A-875B-275798******",
  "Message": "Success",
  "AccessDeniedDetail": {
    "AuthAction": "ice:CancelIProductionJob",
    "AuthPrincipalDisplayName": "****4522705967****",
    "AuthPrincipalOwnerId": "****82303720****",
    "AuthPrincipalType": "SubUser",
    "EncodedDiagnosticMessage": "******AAZ/h8jzNEODc5QUUyLUZCOTAtNUQyQy1BMEFBLUUzODQxODUx******==",
    "NoPermissionType": "ImplicitDeny",
    "PolicyType": "AssumeRolePolicy"
  }
}

Error codes

For a list of error codes, visit the Service error codes.