Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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