| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DeleteFleetMetric
Description
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.
Synopsis
- data DeleteFleetMetric = DeleteFleetMetric' {}
- newDeleteFleetMetric :: Text -> DeleteFleetMetric
- deleteFleetMetric_expectedVersion :: Lens' DeleteFleetMetric (Maybe Integer)
- deleteFleetMetric_metricName :: Lens' DeleteFleetMetric Text
- data DeleteFleetMetricResponse = DeleteFleetMetricResponse' {
- newDeleteFleetMetricResponse :: DeleteFleetMetricResponse
Creating a Request
data DeleteFleetMetric Source #
See: newDeleteFleetMetric smart constructor.
Constructors
| DeleteFleetMetric' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteFleetMetric |
Create a value of DeleteFleetMetric with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expectedVersion:DeleteFleetMetric', deleteFleetMetric_expectedVersion - The expected version of the fleet metric to delete.
DeleteFleetMetric, deleteFleetMetric_metricName - The name of the fleet metric to delete.
Request Lenses
deleteFleetMetric_expectedVersion :: Lens' DeleteFleetMetric (Maybe Integer) Source #
The expected version of the fleet metric to delete.
deleteFleetMetric_metricName :: Lens' DeleteFleetMetric Text Source #
The name of the fleet metric to delete.
Destructuring the Response
data DeleteFleetMetricResponse Source #
See: newDeleteFleetMetricResponse smart constructor.
Constructors
| DeleteFleetMetricResponse' | |
Instances
newDeleteFleetMetricResponse :: DeleteFleetMetricResponse Source #
Create a value of DeleteFleetMetricResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.