Skip to content

Lists all targets for a specific gateway

Description

Lists all targets for a specific gateway.

Usage

bedrockagentcorecontrol_list_gateway_targets(gatewayIdentifier,
  maxResults, nextToken)

Arguments

  • gatewayIdentifier

    [required] The identifier of the gateway to list targets for.

  • 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.

  • 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.

Value

A list with the following syntax:

list(
  items = list(
    list(
      targetId = "string",
      name = "string",
      status = "CREATING"|"UPDATING"|"UPDATE_UNSUCCESSFUL"|"DELETING"|"READY"|"FAILED"|"SYNCHRONIZING"|"SYNCHRONIZE_UNSUCCESSFUL"|"CREATE_PENDING_AUTH"|"UPDATE_PENDING_AUTH"|"SYNCHRONIZE_PENDING_AUTH",
      description = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      resourcePriority = 123,
      lastSynchronizedAt = as.POSIXct(
        "2015-01-01"
      ),
      authorizationData = list(
        oauth2 = list(
          authorizationUrl = "string",
          userId = "string"
        )
      ),
      targetType = "OPEN_API_SCHEMA"|"SMITHY_MODEL"|"MCP_SERVER"|"LAMBDA"|"API_GATEWAY"|"CONNECTOR"|"AGENTCORE_RUNTIME"|"PASSTHROUGH"|"PROVIDER"|"HTTP_CONNECTOR",
      listingMode = "DEFAULT"|"DYNAMIC"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_gateway_targets(
  gatewayIdentifier = "string",
  maxResults = 123,
  nextToken = "string"
)