Skip to content

Retrieve a list of sessions

Description

Retrieve a list of sessions.

Usage

glue_list_sessions(NextToken, MaxResults, Tags, RequestOrigin)

Arguments

  • NextToken

    The token for the next set of results, or null if there are no more result.

  • MaxResults

    The maximum number of results.

  • Tags

    Tags belonging to the session.

  • RequestOrigin

    The origin of the request.

Value

A list with the following syntax:

list(
  Ids = list(
    "string"
  ),
  Sessions = list(
    list(
      Id = "string",
      CreatedOn = as.POSIXct(
        "2015-01-01"
      ),
      Status = "PROVISIONING"|"READY"|"FAILED"|"TIMEOUT"|"STOPPING"|"STOPPED",
      ErrorMessage = "string",
      Description = "string",
      Role = "string",
      Command = list(
        Name = "string",
        PythonVersion = "string"
      ),
      DefaultArguments = list(
        "string"
      ),
      Connections = list(
        Connections = list(
          "string"
        )
      ),
      Progress = 123.0,
      MaxCapacity = 123.0,
      SecurityConfiguration = "string",
      GlueVersion = "string",
      NumberOfWorkers = 123,
      WorkerType = "Standard"|"G.1X"|"G.2X"|"G.025X"|"G.4X"|"G.8X"|"Z.2X",
      CompletedOn = as.POSIXct(
        "2015-01-01"
      ),
      ExecutionTime = 123.0,
      DPUSeconds = 123.0,
      IdleTimeout = 123,
      ProfileName = "string",
      SessionType = "LIVY"|"SPARK_CONNECT"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_sessions(
  NextToken = "string",
  MaxResults = 123,
  Tags = list(
    "string"
  ),
  RequestOrigin = "string"
)