:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / create_notification_configuration

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



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

  

  Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/CreateNotificationConfiguration>`_  


  **Request Syntax**
  ::

    response = client.create_notification_configuration(
        EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'DEVICE_WSS'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT',
        DestinationName='string',
        ClientToken='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type EventType: string
  :param EventType: **[REQUIRED]** 

    The type of event triggering a device notification to the customer-managed destination.

    

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

    The name of the destination for the notification configuration.

    

  
  :type ClientToken: string
  :param ClientToken: 

    An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

    This field is autopopulated if not provided.

  
  :type Tags: dict
  :param Tags: 

    A set of key/value pairs that are used to manage the notification configuration.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'EventType': 'DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'DEVICE_WSS'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **EventType** *(string) --* 

        The type of event triggering a device notification to the customer-managed destination.

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

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

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

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

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

  