IoTFleetWise / Client / create_fleet
create_fleet#
- IoTFleetWise.Client.create_fleet(**kwargs)#
Creates a fleet that represents a group of vehicles.
Note
You must create both a signal catalog and vehicles before you can create a fleet.
For more information, see Fleets in the Amazon Web Services IoT FleetWise Developer Guide.
See also: AWS API Documentation
Request Syntax
response = client.create_fleet( fleetId='string', description='string', signalCatalogArn='string', tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
fleetId (string) –
[REQUIRED]
The unique ID of the fleet to create.
description (string) – A brief description of the fleet to create.
signalCatalogArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of a signal catalog.
tags (list) –
Metadata that can be used to manage the fleet.
(dict) –
A set of key/value pairs that are used to manage the resource.
Key (string) – [REQUIRED]
The tag’s key.
Value (string) – [REQUIRED]
The tag’s value.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'arn': 'string' }
Response Structure
(dict) –
id (string) –
The ID of the created fleet.
arn (string) –
The ARN of the created fleet.
Exceptions