batch_disassociate_user_stack
(**kwargs)¶Disassociates the specified users from the specified stacks.
See also: AWS API Documentation
Request Syntax
response = client.batch_disassociate_user_stack(
UserStackAssociations=[
{
'StackName': 'string',
'UserName': 'string',
'AuthenticationType': 'API'|'SAML'|'USERPOOL'|'AWS_AD',
'SendEmailNotification': True|False
},
]
)
[REQUIRED]
The list of UserStackAssociation objects.
Describes a user in the user pool and the associated stack.
The name of the stack that is associated with the user.
The email address of the user who is associated with the stack.
Note
Users' email addresses are case-sensitive.
The authentication type for the user.
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
{
'errors': [
{
'UserStackAssociation': {
'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'
},
]
}
Response Structure
The list of UserStackAssociationError objects.
Describes the error that is returned when a user can’t be associated with or disassociated from a stack.
Information about the user and associated stack.
The name of the stack that is associated with the user.
The email address of the user who is associated with the stack.
Note
Users' email addresses are case-sensitive.
The authentication type for the user.
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
Exceptions
AppStream.Client.exceptions.OperationNotPermittedException
AppStream.Client.exceptions.InvalidParameterCombinationException