IoT / Client / delete_fleet_metric

delete_fleet_metric#

IoT.Client.delete_fleet_metric(**kwargs)#

Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn’t exist.

Requires permission to access the DeleteFleetMetric action.

See also: AWS API Documentation

Request Syntax

response = client.delete_fleet_metric(
    metricName='string',
    expectedVersion=123
)
Parameters:
  • metricName (string) –

    [REQUIRED]

    The name of the fleet metric to delete.

  • expectedVersion (integer) – The expected version of the fleet metric to delete.

Returns:

None

Exceptions

  • IoT.Client.exceptions.InvalidRequestException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.UnauthorizedException

  • IoT.Client.exceptions.ServiceUnavailableException

  • IoT.Client.exceptions.InternalFailureException

  • IoT.Client.exceptions.VersionConflictException