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 |
Deletes a label.
Synopsis
- data DeleteLabel = DeleteLabel' {
- labelGroupName :: Text
- labelId :: Text
- newDeleteLabel :: Text -> Text -> DeleteLabel
- deleteLabel_labelGroupName :: Lens' DeleteLabel Text
- deleteLabel_labelId :: Lens' DeleteLabel Text
- data DeleteLabelResponse = DeleteLabelResponse' {
- newDeleteLabelResponse :: DeleteLabelResponse
Creating a Request
data DeleteLabel Source #
See: newDeleteLabel
smart constructor.
DeleteLabel' | |
|
Instances
Create a value of DeleteLabel
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:
DeleteLabel
, deleteLabel_labelGroupName
- The name of the label group that contains the label that you want to
delete. Data in this field will be retained for service usage. Follow
best practices for the security of your data.
DeleteLabel
, deleteLabel_labelId
- The ID of the label that you want to delete.
Request Lenses
deleteLabel_labelGroupName :: Lens' DeleteLabel Text Source #
The name of the label group that contains the label that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.
deleteLabel_labelId :: Lens' DeleteLabel Text Source #
The ID of the label that you want to delete.
Destructuring the Response
data DeleteLabelResponse Source #
See: newDeleteLabelResponse
smart constructor.
Instances
Generic DeleteLabelResponse Source # | |
Defined in Amazonka.LookoutEquipment.DeleteLabel type Rep DeleteLabelResponse :: Type -> Type # from :: DeleteLabelResponse -> Rep DeleteLabelResponse x # to :: Rep DeleteLabelResponse x -> DeleteLabelResponse # | |
Read DeleteLabelResponse Source # | |
Show DeleteLabelResponse Source # | |
Defined in Amazonka.LookoutEquipment.DeleteLabel showsPrec :: Int -> DeleteLabelResponse -> ShowS # show :: DeleteLabelResponse -> String # showList :: [DeleteLabelResponse] -> ShowS # | |
NFData DeleteLabelResponse Source # | |
Defined in Amazonka.LookoutEquipment.DeleteLabel rnf :: DeleteLabelResponse -> () # | |
Eq DeleteLabelResponse Source # | |
Defined in Amazonka.LookoutEquipment.DeleteLabel (==) :: DeleteLabelResponse -> DeleteLabelResponse -> Bool # (/=) :: DeleteLabelResponse -> DeleteLabelResponse -> Bool # | |
type Rep DeleteLabelResponse Source # | |
newDeleteLabelResponse :: DeleteLabelResponse Source #
Create a value of DeleteLabelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.