Skip to content

List Directories

clouddirectory_list_directories R Documentation

Lists directories created within an account

Description

Lists directories created within an account.

Usage

clouddirectory_list_directories(NextToken, MaxResults, state)

Arguments

NextToken

The pagination token.

MaxResults

The maximum number of results to retrieve.

state

The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.

Value

A list with the following syntax:

list(
  Directories = list(
    list(
      Name = "string",
      DirectoryArn = "string",
      State = "ENABLED"|"DISABLED"|"DELETED",
      CreationDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_directories(
  NextToken = "string",
  MaxResults = 123,
  state = "ENABLED"|"DISABLED"|"DELETED"
)