Skip to content

Start Command Execution

codebuild_start_command_execution R Documentation

Starts a command execution

Description

Starts a command execution.

Usage

codebuild_start_command_execution(sandboxId, command, type)

Arguments

sandboxId

[required] A sandboxId or sandboxArn.

command

[required] The command that needs to be executed.

type

The command type.

Value

A list with the following syntax:

list(
  commandExecution = list(
    id = "string",
    sandboxId = "string",
    submitTime = as.POSIXct(
      "2015-01-01"
    ),
    startTime = as.POSIXct(
      "2015-01-01"
    ),
    endTime = as.POSIXct(
      "2015-01-01"
    ),
    status = "string",
    command = "string",
    type = "SHELL",
    exitCode = "string",
    standardOutputContent = "string",
    standardErrContent = "string",
    logs = list(
      groupName = "string",
      streamName = "string",
      deepLink = "string",
      s3DeepLink = "string",
      cloudWatchLogsArn = "string",
      s3LogsArn = "string",
      cloudWatchLogs = list(
        status = "ENABLED"|"DISABLED",
        groupName = "string",
        streamName = "string"
      ),
      s3Logs = list(
        status = "ENABLED"|"DISABLED",
        location = "string",
        encryptionDisabled = TRUE|FALSE,
        bucketOwnerAccess = "NONE"|"READ_ONLY"|"FULL"
      )
    ),
    sandboxArn = "string"
  )
)

Request syntax

svc$start_command_execution(
  sandboxId = "string",
  command = "string",
  type = "SHELL"
)