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

******************************
get_notification_configuration
******************************



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

  

  Returns a specified ``NotificationConfiguration``.

  

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


  **Request Syntax**
  ::

    response = client.get_notification_configuration(
        arn='string'
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

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

    

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

    
    ::

      {
          'arn': 'string',
          'name': 'string',
          'description': 'string',
          'status': 'ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING',
          'creationTime': datetime(2015, 1, 1),
          'aggregationDuration': 'LONG'|'SHORT'|'NONE',
          'subtype': 'ACCOUNT'|'ADMIN_MANAGED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The ARN of the resource.

        
      

      - **name** *(string) --* 

        The name of the ``NotificationConfiguration``.

        
      

      - **description** *(string) --* 

        The description of the ``NotificationConfiguration``.

        
      

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

        The status of this ``NotificationConfiguration``.

        
      

      - **creationTime** *(datetime) --* 

        The creation time of the ``NotificationConfiguration``.

        
      

      - **aggregationDuration** *(string) --* 

        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.
            

          
          

        
        

        
      

      - **subtype** *(string) --* 

        The subtype of the notification configuration returned in the response.

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

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

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

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

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

  