fleets_for_vehicles
Creates, updates, deletes, gets or lists a fleets_for_vehicles resource.
Overview
| Name | fleets_for_vehicles |
| Type | Resource |
| Id | aws.iotfleetwise.fleets_for_vehicles |
Fields
The following fields are returned by SELECT queries:
- list_fleets_for_vehicle
| Name | Datatype | Description |
|---|---|---|
fleet | string | A list of fleet IDs that the vehicle is associated with. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_fleets_for_vehicle | select | region | Retrieves a list of IDs for all fleets that the vehicle is associated with. This API operation uses pagination. Specify the nextToken parameter in the request to return more results. |
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
- list_fleets_for_vehicle
Retrieves a list of IDs for all fleets that the vehicle is associated with. This API operation uses pagination. Specify the nextToken parameter in the request to return more results.
SELECT
fleet
FROM aws.iotfleetwise.fleets_for_vehicles
WHERE region = '{{ region }}' -- required
;