Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_resource_event_configuration

update_resource_event_configuration(**kwargs)

Update the event configuration for a particular resource identifier.

See also: AWS API Documentation

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'
    }
)
Parameters
  • Identifier (string) --

    [REQUIRED]

    Resource identifier to opt in for event messaging.

  • IdentifierType (string) --

    [REQUIRED]

    Identifier type of the particular resource identifier for event configuration.

  • PartnerType (string) -- Partner type of the resource if the identifier type is PartnerAccountId
  • DeviceRegistrationState (dict) --

    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.

  • Proximity (dict) --

    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.

  • Join (dict) --

    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.

  • ConnectionStatus (dict) --

    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.

  • MessageDeliveryStatus (dict) --

    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.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IoTWireless.Client.exceptions.ValidationException
  • IoTWireless.Client.exceptions.AccessDeniedException
  • IoTWireless.Client.exceptions.ConflictException
  • IoTWireless.Client.exceptions.ThrottlingException
  • IoTWireless.Client.exceptions.ResourceNotFoundException
  • IoTWireless.Client.exceptions.InternalServerException