Mutation
mutation UpdateRunAttemptNativeId($attemptId: ID!, $nativeId: String!) {
updateRunAttemptNativeId(attemptId: $attemptId, nativeId: $nativeId) {
id
generation
nativeId
status
resumeStrategy
startedAt
}
}Variables
{
"attemptId": "id",
"nativeId": "string"
}Response
{
"data": {
"updateRunAttemptNativeId": {
"id": "id",
"generation": 1,
"nativeId": "string",
"status": "string",
"resumeStrategy": "string",
"startedAt": "string"
}
}
}Mutations
updateRunAttemptNativeId
Updates a run attempt native ID and returns the updated run attempt.
MUTATION
updateRunAttemptNativeId(attemptId: ID!, nativeId: String!, providerVersion: String): RunAttempt!Arguments
attemptId
ID!
required
Identifier of the attempt.
nativeId
String!
required
Identifier of the native.
providerVersion
String
The provider version used to filter or perform the operation.
Returns
id
ID!
Stable identifier for this run attempt.
generation
Int!
The generation associated with this run attempt.
nativeId
String
Identifier of the related native. May be null when unavailable or not applicable.
status
String!
Current status of this run attempt.
resumeStrategy
String
The resume strategy associated with this run attempt. May be null when unavailable or not applicable.
startedAt
String!
ISO 8601 timestamp when this run attempt started.
finishedAt
String
ISO 8601 timestamp when this run attempt finished. May be null when unavailable or not applicable.
supersededAt
String
ISO 8601 timestamp when this run attempt was superseded. May be null when unavailable or not applicable.
Mutation
mutation UpdateRunAttemptNativeId($attemptId: ID!, $nativeId: String!) {
updateRunAttemptNativeId(attemptId: $attemptId, nativeId: $nativeId) {
id
generation
nativeId
status
resumeStrategy
startedAt
}
}Variables
{
"attemptId": "id",
"nativeId": "string"
}Response
{
"data": {
"updateRunAttemptNativeId": {
"id": "id",
"generation": 1,
"nativeId": "string",
"status": "string",
"resumeStrategy": "string",
"startedAt": "string"
}
}
}