Skip to content

Gets a list of command executions for a sandbox

Description

Gets a list of command executions for a sandbox.

Usage

codebuild_list_command_executions_for_sandbox(sandboxId, maxResults,
  sortOrder, nextToken)

Arguments

  • sandboxId

    [required] A sandboxId or sandboxArn.

  • maxResults

    The maximum number of sandbox records to be retrieved.

  • sortOrder

    The order in which sandbox records should be retrieved.

  • nextToken

    The next token, if any, to get paginated results. You will get this value from previous execution of list sandboxes.

Value

A list with the following syntax:

list(
  commandExecutions = list(
    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"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_command_executions_for_sandbox(
  sandboxId = "string",
  maxResults = 123,
  sortOrder = "ASCENDING"|"DESCENDING",
  nextToken = "string"
)