Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteFleetMetric' | |
|
Instances
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.
$sel:metricName: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.
Instances
Eq DeleteFleetMetricResponse Source # | |
Defined in Amazonka.IoT.DeleteFleetMetric | |
Read DeleteFleetMetricResponse Source # | |
Show DeleteFleetMetricResponse Source # | |
Defined in Amazonka.IoT.DeleteFleetMetric showsPrec :: Int -> DeleteFleetMetricResponse -> ShowS # show :: DeleteFleetMetricResponse -> String # showList :: [DeleteFleetMetricResponse] -> ShowS # | |
Generic DeleteFleetMetricResponse Source # | |
Defined in Amazonka.IoT.DeleteFleetMetric type Rep DeleteFleetMetricResponse :: Type -> Type # | |
NFData DeleteFleetMetricResponse Source # | |
Defined in Amazonka.IoT.DeleteFleetMetric rnf :: DeleteFleetMetricResponse -> () # | |
type Rep DeleteFleetMetricResponse Source # | |
newDeleteFleetMetricResponse :: DeleteFleetMetricResponse Source #
Create a value of DeleteFleetMetricResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.