:doc:`IoTWireless <../../iotwireless>` / Client / update_resource_event_configuration

***********************************
update_resource_event_configuration
***********************************



.. py:method:: IoTWireless.Client.update_resource_event_configuration(**kwargs)

  

  Update the event configuration for a particular resource identifier.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateResourceEventConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_resource_event_configuration(
        Identifier='string',
        IdentifierType='PartnerAccountId'|'DevEui'|'GatewayEui'|'WirelessDeviceId'|'WirelessGatewayId',
        PartnerType='Sidewalk',
        DeviceRegistrationState={
            'Sidewalk': {
                'AmazonIdEventTopic': 'Enabled'|'Disabled'
            },
            'WirelessDeviceIdEventTopic': 'Enabled'|'Disabled'
        },
        Proximity={
            'Sidewalk': {
                'AmazonIdEventTopic': 'Enabled'|'Disabled'
            },
            'WirelessDeviceIdEventTopic': 'Enabled'|'Disabled'
        },
        Join={
            'LoRaWAN': {
                'DevEuiEventTopic': 'Enabled'|'Disabled'
            },
            'WirelessDeviceIdEventTopic': 'Enabled'|'Disabled'
        },
        ConnectionStatus={
            'LoRaWAN': {
                'GatewayEuiEventTopic': 'Enabled'|'Disabled'
            },
            'WirelessGatewayIdEventTopic': 'Enabled'|'Disabled'
        },
        MessageDeliveryStatus={
            'Sidewalk': {
                'AmazonIdEventTopic': 'Enabled'|'Disabled'
            },
            'WirelessDeviceIdEventTopic': 'Enabled'|'Disabled'
        }
    )
    
  :type Identifier: string
  :param Identifier: **[REQUIRED]** 

    Resource identifier to opt in for event messaging.

    

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

    Identifier type of the particular resource identifier for event configuration.

    

  
  :type PartnerType: string
  :param PartnerType: 

    Partner type of the resource if the identifier type is ``PartnerAccountId``

    

  
  :type DeviceRegistrationState: dict
  :param DeviceRegistrationState: 

    Event configuration for the device registration state event.

    

  
    - **Sidewalk** *(dict) --* 

      Device registration state event configuration object for enabling or disabling Sidewalk related event topics.

      

    
      - **AmazonIdEventTopic** *(string) --* 

        Denotes whether the Amazon ID event topic is enabled or disabled.

        

      
    
    - **WirelessDeviceIdEventTopic** *(string) --* 

      Denotes whether the wireless device ID device registration state event topic is enabled or disabled.

      

    
  
  :type Proximity: dict
  :param Proximity: 

    Event configuration for the proximity event.

    

  
    - **Sidewalk** *(dict) --* 

      Proximity event configuration object for enabling or disabling Sidewalk related event topics.

      

    
      - **AmazonIdEventTopic** *(string) --* 

        Denotes whether the Amazon ID event topic is enabled or disabled.

        

      
    
    - **WirelessDeviceIdEventTopic** *(string) --* 

      Denotes whether the wireless device ID proximity event topic is enabled or disabled.

      

    
  
  :type Join: dict
  :param Join: 

    Event configuration for the join event.

    

  
    - **LoRaWAN** *(dict) --* 

      Join event configuration object for enabling or disabling LoRaWAN related event topics.

      

    
      - **DevEuiEventTopic** *(string) --* 

        Denotes whether the Dev EUI join event topic is enabled or disabled.

        

      
    
    - **WirelessDeviceIdEventTopic** *(string) --* 

      Denotes whether the wireless device ID join event topic is enabled or disabled.

      

    
  
  :type ConnectionStatus: dict
  :param ConnectionStatus: 

    Event configuration for the connection status event.

    

  
    - **LoRaWAN** *(dict) --* 

      Connection status event configuration object for enabling or disabling LoRaWAN related event topics.

      

    
      - **GatewayEuiEventTopic** *(string) --* 

        Denotes whether the gateway EUI connection status event topic is enabled or disabled.

        

      
    
    - **WirelessGatewayIdEventTopic** *(string) --* 

      Denotes whether the wireless gateway ID connection status event topic is enabled or disabled.

      

    
  
  :type MessageDeliveryStatus: dict
  :param MessageDeliveryStatus: 

    Event configuration for the message delivery status event.

    

  
    - **Sidewalk** *(dict) --* 

      ``SidewalkEventNotificationConfigurations`` object, which is the event configuration object for Sidewalk-related event topics.

      

    
      - **AmazonIdEventTopic** *(string) --* 

        Denotes whether the Amazon ID event topic is enabled or disabled.

        

      
    
    - **WirelessDeviceIdEventTopic** *(string) --* 

      Denotes whether the wireless device ID message delivery status event topic is enabled or disabled.

      

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

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

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

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

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

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

  