Skip to content

List Service Principal Names

pcaconnectorad_list_service_principal_names R Documentation

Lists the service principal names that the connector uses to authenticate with Active Directory

Description

Lists the service principal names that the connector uses to authenticate with Active Directory.

Usage

pcaconnectorad_list_service_principal_names(DirectoryRegistrationArn,
  MaxResults, NextToken)

Arguments

DirectoryRegistrationArn

[required] The Amazon Resource Name (ARN) that was returned when you called create_directory_registration.

MaxResults

Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

NextToken

Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received.

Value

A list with the following syntax:

list(
  NextToken = "string",
  ServicePrincipalNames = list(
    list(
      ConnectorArn = "string",
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      DirectoryRegistrationArn = "string",
      Status = "CREATING"|"ACTIVE"|"DELETING"|"FAILED",
      StatusReason = "DIRECTORY_ACCESS_DENIED"|"DIRECTORY_NOT_REACHABLE"|"DIRECTORY_RESOURCE_NOT_FOUND"|"SPN_EXISTS_ON_DIFFERENT_AD_OBJECT"|"INTERNAL_FAILURE",
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$list_service_principal_names(
  DirectoryRegistrationArn = "string",
  MaxResults = 123,
  NextToken = "string"
)