AWS IoT FleetWise

2024/05/24 - AWS IoT FleetWise - 1 updated api methods

Changes  AWS IoT FleetWise now supports listing vehicles with attributes filter, ListVehicles API is updated to support additional attributes filter.

ListVehicles (updated) Link ΒΆ
Changes (request)
{'attributeNames': ['string'], 'attributeValues': ['string']}

Retrieves a list of summaries of created vehicles.

See also: AWS API Documentation

Request Syntax

client.list_vehicles(
    modelManifestArn='string',
    attributeNames=[
        'string',
    ],
    attributeValues=[
        'string',
    ],
    nextToken='string',
    maxResults=123
)
type modelManifestArn:

string

param modelManifestArn:

The Amazon Resource Name (ARN) of a vehicle model (model manifest). You can use this optional parameter to list only the vehicles created from a certain vehicle model.

type attributeNames:

list

param attributeNames:

The fully qualified names of the attributes. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.

  • (string) --

type attributeValues:

list

param attributeValues:

Static information about a vehicle attribute value in string format. For example:

"1.3 L R2"

  • (string) --

type nextToken:

string

param nextToken:

A pagination token for the next set of results.

If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.

type maxResults:

integer

param maxResults:

The maximum number of items to return, between 1 and 100, inclusive.

rtype:

dict

returns:

Response Syntax

{
    'vehicleSummaries': [
        {
            'vehicleName': 'string',
            'arn': 'string',
            'modelManifestArn': 'string',
            'decoderManifestArn': 'string',
            'creationTime': datetime(2015, 1, 1),
            'lastModificationTime': datetime(2015, 1, 1),
            'attributes': {
                'string': 'string'
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • vehicleSummaries (list) --

      A list of vehicles and information about them.

      • (dict) --

        Information about a vehicle.

        To return this information about vehicles in your account, you can use the API operation.

        • vehicleName (string) --

          The unique ID of the vehicle.

        • arn (string) --

          The Amazon Resource Name (ARN) of the vehicle.

        • modelManifestArn (string) --

          The ARN of a vehicle model (model manifest) associated with the vehicle.

        • decoderManifestArn (string) --

          The ARN of a decoder manifest associated with the vehicle.

        • creationTime (datetime) --

          The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).

        • lastModificationTime (datetime) --

          The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).

        • attributes (dict) --

          Static information about a vehicle in a key-value pair. For example:

          "engineType" : "1.3 L R2"

          • (string) --

            • (string) --

    • nextToken (string) --

      The token to retrieve the next set of results, or null if there are no more results.