Skip to content

Search Views

connect_search_views R Documentation

Searches views based on name, description, or tags

Description

Searches views based on name, description, or tags.

Usage

connect_search_views(InstanceId, NextToken, MaxResults, SearchFilter,
  SearchCriteria)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

NextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

MaxResults

The maximum number of results to return per page.

SearchFilter

Filters to apply to the search, such as tag-based filters.

SearchCriteria

The search criteria, including field names and comparison types.

Value

A list with the following syntax:

list(
  Views = list(
    list(
      Id = "string",
      Arn = "string",
      Name = "string",
      Status = "PUBLISHED"|"SAVED",
      Type = "CUSTOMER_MANAGED"|"AWS_MANAGED",
      Description = "string",
      Version = 123,
      VersionDescription = "string",
      Content = list(
        InputSchema = "string",
        Template = "string",
        Actions = list(
          "string"
        )
      ),
      Tags = list(
        "string"
      ),
      CreatedTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      ViewContentSha256 = "string"
    )
  ),
  NextToken = "string",
  ApproximateTotalCount = 123
)

Request syntax

svc$search_views(
  InstanceId = "string",
  NextToken = "string",
  MaxResults = 123,
  SearchFilter = list(
    AttributeFilter = list(
      OrConditions = list(
        list(
          TagConditions = list(
            list(
              TagKey = "string",
              TagValue = "string"
            )
          )
        )
      ),
      AndCondition = list(
        TagConditions = list(
          list(
            TagKey = "string",
            TagValue = "string"
          )
        )
      ),
      TagCondition = list(
        TagKey = "string",
        TagValue = "string"
      )
    )
  ),
  SearchCriteria = list(
    OrConditions = list(
      list()
    ),
    AndConditions = list(
      list()
    ),
    StringCondition = list(
      FieldName = "string",
      Value = "string",
      ComparisonType = "STARTS_WITH"|"CONTAINS"|"EXACT"
    ),
    ViewTypeCondition = "CUSTOMER_MANAGED"|"AWS_MANAGED",
    ViewStatusCondition = "PUBLISHED"|"SAVED"
  )
)