position_configurations
Creates, updates, deletes, gets or lists a position_configurations resource.
Overview
| Name | position_configurations |
| Type | Resource |
| Id | aws.iotwireless.position_configurations |
Fields
The following fields are returned by SELECT queries:
- get_position_configuration
- list_position_configurations
| Name | Datatype | Description |
|---|---|---|
destination | string | The position data destination that describes the AWS IoT rule that processes the device's position data for use by AWS IoT Core for LoRaWAN. (pattern: <code>[a-zA-Z0-9-_]+</code>) |
solvers | object | The wrapper for the solver configuration details object. |
| Name | Datatype | Description |
|---|---|---|
next_token | string | The token to use to get the next set of results, or null if there are no additional results. |
position_configuration_list | array | A list of position configurations. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_position_configuration | select | resource_identifier, resourceType, region | Get position configuration for a given resource. This action is no longer supported. Calls to retrieve the position configuration should use the GetResourcePosition API operation instead. | |
list_position_configurations | select | region | resourceType, maxResults, nextToken | List position configurations for a given resource, such as positioning solvers. This action is no longer supported. Calls to retrieve position information should use the GetResourcePosition API operation instead. |
put_position_configuration | replace | resource_identifier, resourceType, region | Put position configuration for a given resource. This action is no longer supported. Calls to update the position configuration should use the UpdateResourcePosition API operation instead. |
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) |
resourceType | string | Resource type of the resource for which you want to update the position configuration. |
resource_identifier | string | Resource identifier used to update the position configuration. |
maxResults | integer | |
nextToken | string | To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. |
resourceType | string | Resource type for which position configurations are listed. |
SELECT examples
- get_position_configuration
- list_position_configurations
Get position configuration for a given resource. This action is no longer supported. Calls to retrieve the position configuration should use the GetResourcePosition API operation instead.
SELECT
destination,
solvers
FROM aws.iotwireless.position_configurations
WHERE resource_identifier = '{{ resource_identifier }}' -- required
AND resourceType = '{{ resourceType }}' -- required
AND region = '{{ region }}' -- required
;
List position configurations for a given resource, such as positioning solvers. This action is no longer supported. Calls to retrieve position information should use the GetResourcePosition API operation instead.
SELECT
next_token,
position_configuration_list
FROM aws.iotwireless.position_configurations
WHERE region = '{{ region }}' -- required
AND resourceType = '{{ resourceType }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;
REPLACE examples
- put_position_configuration
Put position configuration for a given resource. This action is no longer supported. Calls to update the position configuration should use the UpdateResourcePosition API operation instead.
REPLACE aws.iotwireless.position_configurations
SET
Solvers = '{{ Solvers }}',
Destination = '{{ Destination }}'
WHERE
resource_identifier = '{{ resource_identifier }}' --required
AND resourceType = '{{ resourceType }}' --required
AND region = '{{ region }}' --required;