Skip to content

List Policy Engines

bedrockagentcorecontrol_list_policy_engines R Documentation

Retrieves a list of policy engines within the AgentCore Policy system

Description

Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination to help administrators discover and manage policy engines across their account. Each policy engine serves as a container for related policies.

Usage

bedrockagentcorecontrol_list_policy_engines(nextToken, maxResults)

Arguments

nextToken

A pagination token returned from a previous list_policy_engines call. Use this token to retrieve the next page of results when the response is paginated.

maxResults

The maximum number of policy engines to return in a single response. If not specified, the default is 10 policy engines per page, with a maximum of 100 per page.

Value

A list with the following syntax:

list(
  policyEngines = list(
    list(
      policyEngineId = "string",
      name = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      policyEngineArn = "string",
      status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED",
      encryptionKeyArn = "string",
      description = "string",
      statusReasons = list(
        "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_policy_engines(
  nextToken = "string",
  maxResults = 123
)