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

*********************************
create_notification_configuration
*********************************



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

  

  Creates a new ``NotificationConfiguration``.

  

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


  **Request Syntax**
  ::

    response = client.create_notification_configuration(
        name='string',
        description='string',
        aggregationDuration='LONG'|'SHORT'|'NONE',
        tags={
            'string': 'string'
        }
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    The name of the ``NotificationConfiguration``. Supports RFC 3986's unreserved characters.

    

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

    The description of the ``NotificationConfiguration``.

    

  
  :type aggregationDuration: string
  :param aggregationDuration: 

    The aggregation preference of the ``NotificationConfiguration``.

     

    
    * Values: 

      
      * ``LONG`` 

        
        * Aggregate notifications for long periods of time (12 hours).
        

      
       
      * ``SHORT`` 

        
        * Aggregate notifications for short periods of time (5 minutes).
        

      
       
      * ``NONE`` 

        
        * Don't aggregate notifications.
        

      
      

    
    

    

  
  :type tags: dict
  :param tags: 

    A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'arn': 'string',
          'status': 'ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the ``NotificationConfiguration``.

        
      

      - **status** *(string) --* 

        The current status of this ``NotificationConfiguration``.

        
  
  **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.ThrottlingException`

  