Skip to main content

event_configuration_by_resource_types

Creates, updates, deletes, gets or lists an event_configuration_by_resource_types resource.

Overview

Nameevent_configuration_by_resource_types
TypeResource
Idaws.iotwireless.event_configuration_by_resource_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connection_statusobjectResource type event configuration for the connection status event.
device_registration_stateobjectResource type event configuration for the device registration state event.
joinobjectResource type event configuration for the join event.
message_delivery_statusobjectResource type event configuration object for the message delivery status event.
proximityobjectResource type event configuration for the proximity event.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_event_configuration_by_resource_typesselectregionGet the event configuration based on resource types.
update_event_configuration_by_resource_typesupdateregionUpdate the event configuration based on resource types.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Get the event configuration based on resource types.

SELECT
connection_status,
device_registration_state,
join,
message_delivery_status,
proximity
FROM aws.iotwireless.event_configuration_by_resource_types
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Update the event configuration based on resource types.

UPDATE aws.iotwireless.event_configuration_by_resource_types
SET
DeviceRegistrationState = '{{ DeviceRegistrationState }}',
Proximity = '{{ Proximity }}',
Join = '{{ Join }}',
ConnectionStatus = '{{ ConnectionStatus }}',
MessageDeliveryStatus = '{{ MessageDeliveryStatus }}'
WHERE
region = '{{ region }}' --required;