Skip to content

List Ad Assessments

directoryservice_list_ad_assessments R Documentation

Retrieves a list of directory assessments for the specified directory or all assessments in your account

Description

Retrieves a list of directory assessments for the specified directory or all assessments in your account. Use this operation to monitor assessment status and manage multiple assessments.

Usage

directoryservice_list_ad_assessments(DirectoryId, NextToken, Limit)

Arguments

DirectoryId

The identifier of the directory for which to list assessments. If not specified, all assessments in your account are returned.

NextToken

The pagination token from a previous request to list_ad_assessments. Pass null if this is the first request.

Limit

The maximum number of assessment summaries to return.

Value

A list with the following syntax:

list(
  Assessments = list(
    list(
      AssessmentId = "string",
      DirectoryId = "string",
      DnsName = "string",
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      LastUpdateDateTime = as.POSIXct(
        "2015-01-01"
      ),
      Status = "string",
      CustomerDnsIps = list(
        "string"
      ),
      ReportType = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_ad_assessments(
  DirectoryId = "string",
  NextToken = "string",
  Limit = 123
)