Skip to content

Lists the details of the organization and account instances of IAM Identity Center that were created in or visible to the account calling this API

Description

Lists the details of the organization and account instances of IAM Identity Center that were created in or visible to the account calling this API.

Usage

ssoadmin_list_instances(MaxResults, NextToken)

Arguments

  • MaxResults

    The maximum number of results to display for the instance.

  • NextToken

    The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

Value

A list with the following syntax:

list(
  Instances = list(
    list(
      InstanceArn = "string",
      IdentityStoreId = "string",
      IdentityStoreArn = "string",
      OwnerAccountId = "string",
      Name = "string",
      CreatedDate = as.POSIXct(
        "2015-01-01"
      ),
      Status = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"DELETE_IN_PROGRESS"|"ACTIVE",
      StatusReason = "string",
      PrimaryRegion = "string",
      Regions = list(
        list(
          RegionName = "string",
          Status = "ACTIVE"|"ADDING"|"REMOVING",
          AddedDate = as.POSIXct(
            "2015-01-01"
          ),
          IsPrimaryRegion = TRUE|FALSE
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

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