:doc:`UserNotifications <../../notifications>` / Client / associate_organizational_unit

*****************************
associate_organizational_unit
*****************************



.. py:method:: UserNotifications.Client.associate_organizational_unit(**kwargs)

  

  Associates an organizational unit with a notification configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/AssociateOrganizationalUnit>`_  


  **Request Syntax**
  ::

    response = client.associate_organizational_unit(
        organizationalUnitId='string',
        notificationConfigurationArn='string'
    )
    
  :type organizationalUnitId: string
  :param organizationalUnitId: **[REQUIRED]** 

    The unique identifier of the organizational unit to associate.

    

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

    The Amazon Resource Name (ARN) of the notification configuration to associate with the organizational unit.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`UserNotifications.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`UserNotifications.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`UserNotifications.Client.exceptions.ValidationException`

  
  *   :py:class:`UserNotifications.Client.exceptions.InternalServerException`

  
  *   :py:class:`UserNotifications.Client.exceptions.ConflictException`

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

  
  *   :py:class:`UserNotifications.Client.exceptions.ThrottlingException`

  