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'
},
]
)
[REQUIRED]
The unique ID of the fleet to create.
[REQUIRED]
The Amazon Resource Name (ARN) of a signal catalog.
Metadata that can be used to manage the fleet.
A set of key/value pairs that are used to manage the resource.
The tag's key.
The tag's value.
dict
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
IoTFleetWise.Client.exceptions.InternalServerException
IoTFleetWise.Client.exceptions.ResourceNotFoundException
IoTFleetWise.Client.exceptions.ConflictException
IoTFleetWise.Client.exceptions.LimitExceededException
IoTFleetWise.Client.exceptions.ThrottlingException
IoTFleetWise.Client.exceptions.ValidationException
IoTFleetWise.Client.exceptions.AccessDeniedException