Skip to content

List Configuration Bundle Versions

bedrockagentcorecontrol_list_configuration_bundle_versions R Documentation

Lists all versions of a configuration bundle, with optional filtering by branch name or creation source

Description

Lists all versions of a configuration bundle, with optional filtering by branch name or creation source.

Usage

bedrockagentcorecontrol_list_configuration_bundle_versions(bundleId,
  nextToken, maxResults, filter)

Arguments

bundleId

[required] The unique identifier of the configuration bundle to list versions for.

nextToken

If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

maxResults

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

filter

An optional filter for listing versions, including branch name, creation source, and whether to return only the latest version per branch.

Value

A list with the following syntax:

list(
  versions = list(
    list(
      bundleArn = "string",
      bundleId = "string",
      versionId = "string",
      lineageMetadata = list(
        parentVersionIds = list(
          "string"
        ),
        branchName = "string",
        createdBy = list(
          name = "string",
          arn = "string"
        ),
        commitMessage = "string"
      ),
      versionCreatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_configuration_bundle_versions(
  bundleId = "string",
  nextToken = "string",
  maxResults = 123,
  filter = list(
    branchName = "string",
    createdByName = "string",
    latestPerBranch = TRUE|FALSE
  )
)