:doc:`AppStream <../../appstream>` / Client / associate_fleet

***************
associate_fleet
***************



.. py:method:: AppStream.Client.associate_fleet(**kwargs)

  

  Associates the specified fleet with the specified stack.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet>`_  


  **Request Syntax**
  ::

    response = client.associate_fleet(
        FleetName='string',
        StackName='string'
    )
    
  :type FleetName: string
  :param FleetName: **[REQUIRED]** 

    The name of the fleet.

    

  
  :type StackName: string
  :param StackName: **[REQUIRED]** 

    The name of the stack.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppStream.Client.exceptions.LimitExceededException`

  
  *   :py:class:`AppStream.Client.exceptions.InvalidAccountStatusException`

  
  *   :py:class:`AppStream.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AppStream.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`AppStream.Client.exceptions.IncompatibleImageException`

  
  *   :py:class:`AppStream.Client.exceptions.OperationNotPermittedException`

  