event_configuration_by_resource_types
Creates, updates, deletes, gets or lists an event_configuration_by_resource_types resource.
Overview
| Name | event_configuration_by_resource_types |
| Type | Resource |
| Id | aws.iotwireless.event_configuration_by_resource_types |
Fields
The following fields are returned by SELECT queries:
- get_event_configuration_by_resource_types
| Name | Datatype | Description |
|---|---|---|
connection_status | object | Resource type event configuration for the connection status event. |
device_registration_state | object | Resource type event configuration for the device registration state event. |
join | object | Resource type event configuration for the join event. |
message_delivery_status | object | Resource type event configuration object for the message delivery status event. |
proximity | object | Resource type event configuration for the proximity event. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_event_configuration_by_resource_types | select | region | Get the event configuration based on resource types. | |
update_event_configuration_by_resource_types | update | region | Update 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_event_configuration_by_resource_types
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_event_configuration_by_resource_types
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;