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.LookoutEquipment.DeleteLabel
Description
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.
Constructors
DeleteLabel' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> DeleteLabel |
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.
Constructors
DeleteLabelResponse' | |
Instances
newDeleteLabelResponse :: DeleteLabelResponse Source #
Create a value of DeleteLabelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.