Skip to content

Batch Associate User Stack

appstream_batch_associate_user_stack R Documentation

Associates the specified users with the specified stacks

Description

Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.

Usage

appstream_batch_associate_user_stack(UserStackAssociations)

Arguments

UserStackAssociations

[required] The list of UserStackAssociation objects.

Value

A list with the following syntax:

list(
  errors = list(
    list(
      UserStackAssociation = list(
        StackName = "string",
        UserName = "string",
        AuthenticationType = "API"|"SAML"|"USERPOOL"|"AWS_AD",
        SendEmailNotification = TRUE|FALSE
      ),
      ErrorCode = "STACK_NOT_FOUND"|"USER_NAME_NOT_FOUND"|"DIRECTORY_NOT_FOUND"|"INTERNAL_ERROR",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$batch_associate_user_stack(
  UserStackAssociations = list(
    list(
      StackName = "string",
      UserName = "string",
      AuthenticationType = "API"|"SAML"|"USERPOOL"|"AWS_AD",
      SendEmailNotification = TRUE|FALSE
    )
  )
)