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

********************************
list_notification_configurations
********************************



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

  

  Returns a list of abbreviated ``NotificationConfigurations`` according to specified filters, in reverse chronological order (newest first).

  

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


  **Request Syntax**
  ::

    response = client.list_notification_configurations(
        eventRuleSource='string',
        channelArn='string',
        status='ACTIVE'|'PARTIALLY_ACTIVE'|'INACTIVE'|'DELETING',
        subtype='ACCOUNT'|'ADMIN_MANAGED',
        maxResults=123,
        nextToken='string'
    )
    
  :type eventRuleSource: string
  :param eventRuleSource: 

    The matched event source.

     

    Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example, ``aws.ec2`` and ``aws.cloudwatch``. For more information, see `Event delivery from Amazon Web Services services <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-delivery-level>`__ in the *Amazon EventBridge User Guide*.

    

  
  :type channelArn: string
  :param channelArn: 

    The Amazon Resource Name (ARN) of the Channel to match.

    

  
  :type status: string
  :param status: 

    The ``NotificationConfiguration`` status to match.

     

    
    * Values: 

      
      * ``ACTIVE`` 

        
        * All ``EventRules`` are ``ACTIVE`` and any call can be run.
        

      
       
      * ``PARTIALLY_ACTIVE`` 

        
        * Some ``EventRules`` are ``ACTIVE`` and some are ``INACTIVE``. Any call can be run.
         
        * Any call can be run.
        

      
       
      * ``INACTIVE`` 

        
        * All ``EventRules`` are ``INACTIVE`` and any call can be run.
        

      
       
      * ``DELETING`` 

        
        * This ``NotificationConfiguration`` is being deleted.
         
        * Only ``GET`` and ``LIST`` calls can be run.
        

      
      

    
    

    

  
  :type subtype: string
  :param subtype: 

    The subtype used to filter the notification configurations in the request.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to be returned in this call. Defaults to 20.

    

  
  :type nextToken: string
  :param nextToken: 

    The start token for paginated calls. Retrieved from the response of a previous ``ListEventRules`` call. Next token uses Base64 encoding.

    

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

    
    ::

      {
          'nextToken': 'string',
          'notificationConfigurations': [
              {
                  '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) --* 
      

      - **nextToken** *(string) --* 

        A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

        
      

      - **notificationConfigurations** *(list) --* 

        The ``NotificationConfigurations`` in the account.

        
        

        - *(dict) --* 

          Contains the complete list of fields for a NotificationConfiguration.

          
          

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

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

            
          

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

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

            
          

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

            The description of the ``NotificationConfiguration``.

            
          

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

            The current status of the ``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.

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

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

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

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

  