Skip to main content

fleets_for_vehicles

Creates, updates, deletes, gets or lists a fleets_for_vehicles resource.

Overview​

Namefleets_for_vehicles
TypeResource
Idaws.iotfleetwise.fleets_for_vehicles

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
fleetstringA list of fleet IDs that the vehicle is associated with.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_fleets_for_vehicleselectregionRetrieves 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.

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

SELECT examples​

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
;