Skip to content

List Segments

cloudwatchevidently_list_segments R Documentation

Returns a list of audience segments that you have created in your account in this Region

Description

Returns a list of audience segments that you have created in your account in this Region.

Usage

cloudwatchevidently_list_segments(maxResults, nextToken)

Arguments

maxResults

The maximum number of results to include in the response. If you omit this, the default of 50 is used.

nextToken

The token to use when requesting the next set of results. You received this token from a previous list_segments operation.

Value

A list with the following syntax:

list(
  nextToken = "string",
  segments = list(
    list(
      arn = "string",
      createdTime = as.POSIXct(
        "2015-01-01"
      ),
      description = "string",
      experimentCount = 123,
      lastUpdatedTime = as.POSIXct(
        "2015-01-01"
      ),
      launchCount = 123,
      name = "string",
      pattern = "string",
      tags = list(
        "string"
      )
    )
  )
)

Request syntax

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