Skip to content

List Workspaces

connect_list_workspaces R Documentation

Lists the workspaces in an Amazon Connect instance

Description

Lists the workspaces in an Amazon Connect instance.

Usage

connect_list_workspaces(InstanceId, NextToken, MaxResults)

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.

Value

A list with the following syntax:

list(
  NextToken = "string",
  WorkspaceSummaryList = list(
    list(
      Id = "string",
      Name = "string",
      Arn = "string",
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedRegion = "string"
    )
  )
)

Request syntax

svc$list_workspaces(
  InstanceId = "string",
  NextToken = "string",
  MaxResults = 123
)