Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . appstream ]

batch-disassociate-user-stack

Description

Disassociates the specified users from the specified stacks.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  batch-disassociate-user-stack
--user-stack-associations <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--user-stack-associations (list)

The list of UserStackAssociation objects.

Shorthand Syntax:

StackName=string,UserName=string,AuthenticationType=string,SendEmailNotification=boolean ...

JSON Syntax:

[
  {
    "StackName": "string",
    "UserName": "string",
    "AuthenticationType": "API"|"SAML"|"USERPOOL",
    "SendEmailNotification": true|false
  }
  ...
]

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

errors -> (list)

The list of UserStackAssociationError objects.

(structure)

Describes the error that is returned when a user can’t be associated with or disassociated from a stack.

UserStackAssociation -> (structure)

Information about the user and associated stack.

StackName -> (string)

The name of the stack that is associated with the user.

UserName -> (string)

The email address of the user who is associated with the stack.

Note

Users' email addresses are case-sensitive.

AuthenticationType -> (string)

The authentication type for the user.

SendEmailNotification -> (boolean)

Specifies whether a welcome email is sent to a user after the user is created in the user pool.

ErrorCode -> (string)

The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.

ErrorMessage -> (string)

The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.