Skip to content

Describe Jobs

batch_describe_jobs R Documentation

Describes a list of Batch jobs

Description

Describes a list of Batch jobs.

Usage

batch_describe_jobs(jobs)

Arguments

jobs

[required] A list of up to 100 job IDs.

Value

A list with the following syntax:

list(
  jobs = list(
    list(
      jobArn = "string",
      jobName = "string",
      jobId = "string",
      jobQueue = "string",
      status = "SUBMITTED"|"PENDING"|"RUNNABLE"|"STARTING"|"RUNNING"|"SUCCEEDED"|"FAILED",
      shareIdentifier = "string",
      schedulingPriority = 123,
      attempts = list(
        list(
          container = list(
            containerInstanceArn = "string",
            taskArn = "string",
            exitCode = 123,
            reason = "string",
            logStreamName = "string",
            networkInterfaces = list(
              list(
                attachmentId = "string",
                ipv6Address = "string",
                privateIpv4Address = "string"
              )
            )
          ),
          startedAt = 123,
          stoppedAt = 123,
          statusReason = "string",
          taskProperties = list(
            list(
              containerInstanceArn = "string",
              taskArn = "string",
              containers = list(
                list(
                  exitCode = 123,
                  name = "string",
                  reason = "string",
                  logStreamName = "string",
                  networkInterfaces = list(
                    list(
                      attachmentId = "string",
                      ipv6Address = "string",
                      privateIpv4Address = "string"
                    )
                  )
                )
              )
            )
          )
        )
      ),
      statusReason = "string",
      createdAt = 123,
      retryStrategy = list(
        attempts = 123,
        evaluateOnExit = list(
          list(
            onStatusReason = "string",
            onReason = "string",
            onExitCode = "string",
            action = "RETRY"|"EXIT"
          )
        )
      ),
      startedAt = 123,
      stoppedAt = 123,
      dependsOn = list(
        list(
          jobId = "string",
          type = "N_TO_N"|"SEQUENTIAL"
        )
      ),
      jobDefinition = "string",
      parameters = list(
        "string"
      ),
      container = list(
        image = "string",
        vcpus = 123,
        memory = 123,
        command = list(
          "string"
        ),
        jobRoleArn = "string",
        executionRoleArn = "string",
        volumes = list(
          list(
            host = list(
              sourcePath = "string"
            ),
            name = "string",
            efsVolumeConfiguration = list(
              fileSystemId = "string",
              rootDirectory = "string",
              transitEncryption = "ENABLED"|"DISABLED",
              transitEncryptionPort = 123,
              authorizationConfig = list(
                accessPointId = "string",
                iam = "ENABLED"|"DISABLED"
              )
            )
          )
        ),
        environment = list(
          list(
            name = "string",
            value = "string"
          )
        ),
        mountPoints = list(
          list(
            containerPath = "string",
            readOnly = TRUE|FALSE,
            sourceVolume = "string"
          )
        ),
        readonlyRootFilesystem = TRUE|FALSE,
        ulimits = list(
          list(
            hardLimit = 123,
            name = "string",
            softLimit = 123
          )
        ),
        privileged = TRUE|FALSE,
        user = "string",
        exitCode = 123,
        reason = "string",
        containerInstanceArn = "string",
        taskArn = "string",
        logStreamName = "string",
        instanceType = "string",
        networkInterfaces = list(
          list(
            attachmentId = "string",
            ipv6Address = "string",
            privateIpv4Address = "string"
          )
        ),
        resourceRequirements = list(
          list(
            value = "string",
            type = "GPU"|"VCPU"|"MEMORY"
          )
        ),
        linuxParameters = list(
          devices = list(
            list(
              hostPath = "string",
              containerPath = "string",
              permissions = list(
                "READ"|"WRITE"|"MKNOD"
              )
            )
          ),
          initProcessEnabled = TRUE|FALSE,
          sharedMemorySize = 123,
          tmpfs = list(
            list(
              containerPath = "string",
              size = 123,
              mountOptions = list(
                "string"
              )
            )
          ),
          maxSwap = 123,
          swappiness = 123
        ),
        logConfiguration = list(
          logDriver = "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk",
          options = list(
            "string"
          ),
          secretOptions = list(
            list(
              name = "string",
              valueFrom = "string"
            )
          )
        ),
        secrets = list(
          list(
            name = "string",
            valueFrom = "string"
          )
        ),
        networkConfiguration = list(
          assignPublicIp = "ENABLED"|"DISABLED"
        ),
        fargatePlatformConfiguration = list(
          platformVersion = "string"
        ),
        ephemeralStorage = list(
          sizeInGiB = 123
        ),
        runtimePlatform = list(
          operatingSystemFamily = "string",
          cpuArchitecture = "string"
        ),
        repositoryCredentials = list(
          credentialsParameter = "string"
        )
      ),
      nodeDetails = list(
        nodeIndex = 123,
        isMainNode = TRUE|FALSE
      ),
      nodeProperties = list(
        numNodes = 123,
        mainNode = 123,
        nodeRangeProperties = list(
          list(
            targetNodes = "string",
            container = list(
              image = "string",
              vcpus = 123,
              memory = 123,
              command = list(
                "string"
              ),
              jobRoleArn = "string",
              executionRoleArn = "string",
              volumes = list(
                list(
                  host = list(
                    sourcePath = "string"
                  ),
                  name = "string",
                  efsVolumeConfiguration = list(
                    fileSystemId = "string",
                    rootDirectory = "string",
                    transitEncryption = "ENABLED"|"DISABLED",
                    transitEncryptionPort = 123,
                    authorizationConfig = list(
                      accessPointId = "string",
                      iam = "ENABLED"|"DISABLED"
                    )
                  )
                )
              ),
              environment = list(
                list(
                  name = "string",
                  value = "string"
                )
              ),
              mountPoints = list(
                list(
                  containerPath = "string",
                  readOnly = TRUE|FALSE,
                  sourceVolume = "string"
                )
              ),
              readonlyRootFilesystem = TRUE|FALSE,
              privileged = TRUE|FALSE,
              ulimits = list(
                list(
                  hardLimit = 123,
                  name = "string",
                  softLimit = 123
                )
              ),
              user = "string",
              instanceType = "string",
              resourceRequirements = list(
                list(
                  value = "string",
                  type = "GPU"|"VCPU"|"MEMORY"
                )
              ),
              linuxParameters = list(
                devices = list(
                  list(
                    hostPath = "string",
                    containerPath = "string",
                    permissions = list(
                      "READ"|"WRITE"|"MKNOD"
                    )
                  )
                ),
                initProcessEnabled = TRUE|FALSE,
                sharedMemorySize = 123,
                tmpfs = list(
                  list(
                    containerPath = "string",
                    size = 123,
                    mountOptions = list(
                      "string"
                    )
                  )
                ),
                maxSwap = 123,
                swappiness = 123
              ),
              logConfiguration = list(
                logDriver = "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk",
                options = list(
                  "string"
                ),
                secretOptions = list(
                  list(
                    name = "string",
                    valueFrom = "string"
                  )
                )
              ),
              secrets = list(
                list(
                  name = "string",
                  valueFrom = "string"
                )
              ),
              networkConfiguration = list(
                assignPublicIp = "ENABLED"|"DISABLED"
              ),
              fargatePlatformConfiguration = list(
                platformVersion = "string"
              ),
              ephemeralStorage = list(
                sizeInGiB = 123
              ),
              runtimePlatform = list(
                operatingSystemFamily = "string",
                cpuArchitecture = "string"
              ),
              repositoryCredentials = list(
                credentialsParameter = "string"
              )
            ),
            instanceTypes = list(
              "string"
            ),
            ecsProperties = list(
              taskProperties = list(
                list(
                  containers = list(
                    list(
                      command = list(
                        "string"
                      ),
                      dependsOn = list(
                        list(
                          containerName = "string",
                          condition = "string"
                        )
                      ),
                      environment = list(
                        list(
                          name = "string",
                          value = "string"
                        )
                      ),
                      essential = TRUE|FALSE,
                      image = "string",
                      linuxParameters = list(
                        devices = list(
                          list(
                            hostPath = "string",
                            containerPath = "string",
                            permissions = list(
                              "READ"|"WRITE"|"MKNOD"
                            )
                          )
                        ),
                        initProcessEnabled = TRUE|FALSE,
                        sharedMemorySize = 123,
                        tmpfs = list(
                          list(
                            containerPath = "string",
                            size = 123,
                            mountOptions = list(
                              "string"
                            )
                          )
                        ),
                        maxSwap = 123,
                        swappiness = 123
                      ),
                      logConfiguration = list(
                        logDriver = "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk",
                        options = list(
                          "string"
                        ),
                        secretOptions = list(
                          list(
                            name = "string",
                            valueFrom = "string"
                          )
                        )
                      ),
                      mountPoints = list(
                        list(
                          containerPath = "string",
                          readOnly = TRUE|FALSE,
                          sourceVolume = "string"
                        )
                      ),
                      name = "string",
                      privileged = TRUE|FALSE,
                      readonlyRootFilesystem = TRUE|FALSE,
                      repositoryCredentials = list(
                        credentialsParameter = "string"
                      ),
                      resourceRequirements = list(
                        list(
                          value = "string",
                          type = "GPU"|"VCPU"|"MEMORY"
                        )
                      ),
                      secrets = list(
                        list(
                          name = "string",
                          valueFrom = "string"
                        )
                      ),
                      ulimits = list(
                        list(
                          hardLimit = 123,
                          name = "string",
                          softLimit = 123
                        )
                      ),
                      user = "string"
                    )
                  ),
                  ephemeralStorage = list(
                    sizeInGiB = 123
                  ),
                  executionRoleArn = "string",
                  platformVersion = "string",
                  ipcMode = "string",
                  taskRoleArn = "string",
                  pidMode = "string",
                  networkConfiguration = list(
                    assignPublicIp = "ENABLED"|"DISABLED"
                  ),
                  runtimePlatform = list(
                    operatingSystemFamily = "string",
                    cpuArchitecture = "string"
                  ),
                  volumes = list(
                    list(
                      host = list(
                        sourcePath = "string"
                      ),
                      name = "string",
                      efsVolumeConfiguration = list(
                        fileSystemId = "string",
                        rootDirectory = "string",
                        transitEncryption = "ENABLED"|"DISABLED",
                        transitEncryptionPort = 123,
                        authorizationConfig = list(
                          accessPointId = "string",
                          iam = "ENABLED"|"DISABLED"
                        )
                      )
                    )
                  )
                )
              )
            ),
            eksProperties = list(
              podProperties = list(
                serviceAccountName = "string",
                hostNetwork = TRUE|FALSE,
                dnsPolicy = "string",
                imagePullSecrets = list(
                  list(
                    name = "string"
                  )
                ),
                containers = list(
                  list(
                    name = "string",
                    image = "string",
                    imagePullPolicy = "string",
                    command = list(
                      "string"
                    ),
                    args = list(
                      "string"
                    ),
                    env = list(
                      list(
                        name = "string",
                        value = "string"
                      )
                    ),
                    resources = list(
                      limits = list(
                        "string"
                      ),
                      requests = list(
                        "string"
                      )
                    ),
                    volumeMounts = list(
                      list(
                        name = "string",
                        mountPath = "string",
                        readOnly = TRUE|FALSE
                      )
                    ),
                    securityContext = list(
                      runAsUser = 123,
                      runAsGroup = 123,
                      privileged = TRUE|FALSE,
                      allowPrivilegeEscalation = TRUE|FALSE,
                      readOnlyRootFilesystem = TRUE|FALSE,
                      runAsNonRoot = TRUE|FALSE
                    )
                  )
                ),
                initContainers = list(
                  list(
                    name = "string",
                    image = "string",
                    imagePullPolicy = "string",
                    command = list(
                      "string"
                    ),
                    args = list(
                      "string"
                    ),
                    env = list(
                      list(
                        name = "string",
                        value = "string"
                      )
                    ),
                    resources = list(
                      limits = list(
                        "string"
                      ),
                      requests = list(
                        "string"
                      )
                    ),
                    volumeMounts = list(
                      list(
                        name = "string",
                        mountPath = "string",
                        readOnly = TRUE|FALSE
                      )
                    ),
                    securityContext = list(
                      runAsUser = 123,
                      runAsGroup = 123,
                      privileged = TRUE|FALSE,
                      allowPrivilegeEscalation = TRUE|FALSE,
                      readOnlyRootFilesystem = TRUE|FALSE,
                      runAsNonRoot = TRUE|FALSE
                    )
                  )
                ),
                volumes = list(
                  list(
                    name = "string",
                    hostPath = list(
                      path = "string"
                    ),
                    emptyDir = list(
                      medium = "string",
                      sizeLimit = "string"
                    ),
                    secret = list(
                      secretName = "string",
                      optional = TRUE|FALSE
                    )
                  )
                ),
                metadata = list(
                  labels = list(
                    "string"
                  )
                ),
                shareProcessNamespace = TRUE|FALSE
              )
            )
          )
        )
      ),
      arrayProperties = list(
        statusSummary = list(
          123
        ),
        size = 123,
        index = 123
      ),
      timeout = list(
        attemptDurationSeconds = 123
      ),
      tags = list(
        "string"
      ),
      propagateTags = TRUE|FALSE,
      platformCapabilities = list(
        "EC2"|"FARGATE"
      ),
      eksProperties = list(
        podProperties = list(
          serviceAccountName = "string",
          hostNetwork = TRUE|FALSE,
          dnsPolicy = "string",
          imagePullSecrets = list(
            list(
              name = "string"
            )
          ),
          containers = list(
            list(
              name = "string",
              image = "string",
              imagePullPolicy = "string",
              command = list(
                "string"
              ),
              args = list(
                "string"
              ),
              env = list(
                list(
                  name = "string",
                  value = "string"
                )
              ),
              resources = list(
                limits = list(
                  "string"
                ),
                requests = list(
                  "string"
                )
              ),
              exitCode = 123,
              reason = "string",
              volumeMounts = list(
                list(
                  name = "string",
                  mountPath = "string",
                  readOnly = TRUE|FALSE
                )
              ),
              securityContext = list(
                runAsUser = 123,
                runAsGroup = 123,
                privileged = TRUE|FALSE,
                allowPrivilegeEscalation = TRUE|FALSE,
                readOnlyRootFilesystem = TRUE|FALSE,
                runAsNonRoot = TRUE|FALSE
              )
            )
          ),
          initContainers = list(
            list(
              name = "string",
              image = "string",
              imagePullPolicy = "string",
              command = list(
                "string"
              ),
              args = list(
                "string"
              ),
              env = list(
                list(
                  name = "string",
                  value = "string"
                )
              ),
              resources = list(
                limits = list(
                  "string"
                ),
                requests = list(
                  "string"
                )
              ),
              exitCode = 123,
              reason = "string",
              volumeMounts = list(
                list(
                  name = "string",
                  mountPath = "string",
                  readOnly = TRUE|FALSE
                )
              ),
              securityContext = list(
                runAsUser = 123,
                runAsGroup = 123,
                privileged = TRUE|FALSE,
                allowPrivilegeEscalation = TRUE|FALSE,
                readOnlyRootFilesystem = TRUE|FALSE,
                runAsNonRoot = TRUE|FALSE
              )
            )
          ),
          volumes = list(
            list(
              name = "string",
              hostPath = list(
                path = "string"
              ),
              emptyDir = list(
                medium = "string",
                sizeLimit = "string"
              ),
              secret = list(
                secretName = "string",
                optional = TRUE|FALSE
              )
            )
          ),
          podName = "string",
          nodeName = "string",
          metadata = list(
            labels = list(
              "string"
            )
          ),
          shareProcessNamespace = TRUE|FALSE
        )
      ),
      eksAttempts = list(
        list(
          containers = list(
            list(
              name = "string",
              exitCode = 123,
              reason = "string"
            )
          ),
          initContainers = list(
            list(
              name = "string",
              exitCode = 123,
              reason = "string"
            )
          ),
          eksClusterArn = "string",
          podName = "string",
          nodeName = "string",
          startedAt = 123,
          stoppedAt = 123,
          statusReason = "string"
        )
      ),
      ecsProperties = list(
        taskProperties = list(
          list(
            containers = list(
              list(
                command = list(
                  "string"
                ),
                dependsOn = list(
                  list(
                    containerName = "string",
                    condition = "string"
                  )
                ),
                environment = list(
                  list(
                    name = "string",
                    value = "string"
                  )
                ),
                essential = TRUE|FALSE,
                image = "string",
                linuxParameters = list(
                  devices = list(
                    list(
                      hostPath = "string",
                      containerPath = "string",
                      permissions = list(
                        "READ"|"WRITE"|"MKNOD"
                      )
                    )
                  ),
                  initProcessEnabled = TRUE|FALSE,
                  sharedMemorySize = 123,
                  tmpfs = list(
                    list(
                      containerPath = "string",
                      size = 123,
                      mountOptions = list(
                        "string"
                      )
                    )
                  ),
                  maxSwap = 123,
                  swappiness = 123
                ),
                logConfiguration = list(
                  logDriver = "json-file"|"syslog"|"journald"|"gelf"|"fluentd"|"awslogs"|"splunk",
                  options = list(
                    "string"
                  ),
                  secretOptions = list(
                    list(
                      name = "string",
                      valueFrom = "string"
                    )
                  )
                ),
                mountPoints = list(
                  list(
                    containerPath = "string",
                    readOnly = TRUE|FALSE,
                    sourceVolume = "string"
                  )
                ),
                name = "string",
                privileged = TRUE|FALSE,
                readonlyRootFilesystem = TRUE|FALSE,
                repositoryCredentials = list(
                  credentialsParameter = "string"
                ),
                resourceRequirements = list(
                  list(
                    value = "string",
                    type = "GPU"|"VCPU"|"MEMORY"
                  )
                ),
                secrets = list(
                  list(
                    name = "string",
                    valueFrom = "string"
                  )
                ),
                ulimits = list(
                  list(
                    hardLimit = 123,
                    name = "string",
                    softLimit = 123
                  )
                ),
                user = "string",
                exitCode = 123,
                reason = "string",
                logStreamName = "string",
                networkInterfaces = list(
                  list(
                    attachmentId = "string",
                    ipv6Address = "string",
                    privateIpv4Address = "string"
                  )
                )
              )
            ),
            containerInstanceArn = "string",
            taskArn = "string",
            ephemeralStorage = list(
              sizeInGiB = 123
            ),
            executionRoleArn = "string",
            platformVersion = "string",
            ipcMode = "string",
            taskRoleArn = "string",
            pidMode = "string",
            networkConfiguration = list(
              assignPublicIp = "ENABLED"|"DISABLED"
            ),
            runtimePlatform = list(
              operatingSystemFamily = "string",
              cpuArchitecture = "string"
            ),
            volumes = list(
              list(
                host = list(
                  sourcePath = "string"
                ),
                name = "string",
                efsVolumeConfiguration = list(
                  fileSystemId = "string",
                  rootDirectory = "string",
                  transitEncryption = "ENABLED"|"DISABLED",
                  transitEncryptionPort = 123,
                  authorizationConfig = list(
                    accessPointId = "string",
                    iam = "ENABLED"|"DISABLED"
                  )
                )
              )
            )
          )
        )
      ),
      isCancelled = TRUE|FALSE,
      isTerminated = TRUE|FALSE
    )
  )
)

Request syntax

svc$describe_jobs(
  jobs = list(
    "string"
  )
)

Examples

## Not run: 
# This example describes a job with the specified job ID.
svc$describe_jobs(
  jobs = list(
    "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9"
  )
)

## End(Not run)