get_fleet

IoTFleetWise.Client.get_fleet(**kwargs)

Retrieves information about a fleet.

See also: AWS API Documentation

Request Syntax

response = client.get_fleet(
    fleetId='string'
)
Parameters
fleetId (string) --

[REQUIRED]

The ID of the fleet to retrieve information about.

Return type
dict
Returns
Response Syntax
{
    'id': 'string',
    'arn': 'string',
    'description': 'string',
    'signalCatalogArn': 'string',
    'creationTime': datetime(2015, 1, 1),
    'lastModificationTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --
    • id (string) --

      The ID of the fleet.

    • arn (string) --

      The Amazon Resource Name (ARN) of the fleet.

    • description (string) --

      A brief description of the fleet.

    • signalCatalogArn (string) --

      The ARN of a signal catalog associated with the fleet.

    • creationTime (datetime) --

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

    • lastModificationTime (datetime) --

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

Exceptions

  • IoTFleetWise.Client.exceptions.InternalServerException
  • IoTFleetWise.Client.exceptions.ResourceNotFoundException
  • IoTFleetWise.Client.exceptions.ThrottlingException
  • IoTFleetWise.Client.exceptions.ValidationException
  • IoTFleetWise.Client.exceptions.AccessDeniedException