Skip to content

Lists available workgroups for the account

Description

Lists available workgroups for the account.

Usage

athena_list_work_groups(NextToken, MaxResults)

Arguments

  • NextToken

    A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

  • MaxResults

    The maximum number of workgroups to return in this request.

Value

A list with the following syntax:

list(
  WorkGroups = list(
    list(
      Name = "string",
      State = "ENABLED"|"DISABLED",
      Description = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      EngineVersion = list(
        SelectedEngineVersion = "string",
        EffectiveEngineVersion = "string"
      ),
      IdentityCenterApplicationArn = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_work_groups(
  NextToken = "string",
  MaxResults = 123
)