Skip to content

Search Spending Limits

braket_search_spending_limits R Documentation

Searches and lists spending limits based on specified filters

Description

Searches and lists spending limits based on specified filters. This operation supports pagination and allows filtering by various criteria to find specific spending limits. We recommend using pagination to ensure that the operation returns quickly and successfully.

Usage

braket_search_spending_limits(nextToken, maxResults, filters)

Arguments

nextToken

The token to retrieve the next page of results. This value is returned from a previous call to SearchSpendingLimits when there are more results available.

maxResults

The maximum number of results to return in a single call. Minimum value of 1, maximum value of 100. Default is 20.

filters

The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.

Value

A list with the following syntax:

list(
  spendingLimits = list(
    list(
      spendingLimitArn = "string",
      deviceArn = "string",
      timePeriod = list(
        startAt = as.POSIXct(
          "2015-01-01"
        ),
        endAt = as.POSIXct(
          "2015-01-01"
        )
      ),
      spendingLimit = "string",
      queuedSpend = "string",
      totalSpend = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      tags = list(
        "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$search_spending_limits(
  nextToken = "string",
  maxResults = 123,
  filters = list(
    list(
      name = "string",
      values = list(
        "string"
      ),
      operator = "EQUAL"
    )
  )
)