Skip to content

Batch Get Fleets

codebuild_batch_get_fleets R Documentation

Gets information about one or more compute fleets

Description

Gets information about one or more compute fleets.

Usage

codebuild_batch_get_fleets(names)

Arguments

names

[required] The names or ARNs of the compute fleets.

Value

A list with the following syntax:

list(
  fleets = list(
    list(
      arn = "string",
      name = "string",
      id = "string",
      created = as.POSIXct(
        "2015-01-01"
      ),
      lastModified = as.POSIXct(
        "2015-01-01"
      ),
      status = list(
        statusCode = "CREATING"|"UPDATING"|"ROTATING"|"PENDING_DELETION"|"DELETING"|"CREATE_FAILED"|"UPDATE_ROLLBACK_FAILED"|"ACTIVE",
        context = "CREATE_FAILED"|"UPDATE_FAILED"|"ACTION_REQUIRED"|"PENDING_DELETION"|"INSUFFICIENT_CAPACITY",
        message = "string"
      ),
      baseCapacity = 123,
      environmentType = "WINDOWS_CONTAINER"|"LINUX_CONTAINER"|"LINUX_GPU_CONTAINER"|"ARM_CONTAINER"|"WINDOWS_SERVER_2019_CONTAINER"|"LINUX_LAMBDA_CONTAINER"|"ARM_LAMBDA_CONTAINER"|"MAC_ARM",
      computeType = "BUILD_GENERAL1_SMALL"|"BUILD_GENERAL1_MEDIUM"|"BUILD_GENERAL1_LARGE"|"BUILD_GENERAL1_XLARGE"|"BUILD_GENERAL1_2XLARGE"|"BUILD_LAMBDA_1GB"|"BUILD_LAMBDA_2GB"|"BUILD_LAMBDA_4GB"|"BUILD_LAMBDA_8GB"|"BUILD_LAMBDA_10GB",
      scalingConfiguration = list(
        scalingType = "TARGET_TRACKING_SCALING",
        targetTrackingScalingConfigs = list(
          list(
            metricType = "FLEET_UTILIZATION_RATE",
            targetValue = 123.0
          )
        ),
        maxCapacity = 123,
        desiredCapacity = 123
      ),
      overflowBehavior = "QUEUE"|"ON_DEMAND",
      vpcConfig = list(
        vpcId = "string",
        subnets = list(
          "string"
        ),
        securityGroupIds = list(
          "string"
        )
      ),
      imageId = "string",
      fleetServiceRole = "string",
      tags = list(
        list(
          key = "string",
          value = "string"
        )
      )
    )
  ),
  fleetsNotFound = list(
    "string"
  )
)

Request syntax

svc$batch_get_fleets(
  names = list(
    "string"
  )
)