amazonka-lookoutequipment-2.0: Amazon Lookout for Equipment SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LookoutEquipment.DeleteLabel

Description

Deletes a label.

Synopsis

Creating a Request

data DeleteLabel Source #

See: newDeleteLabel smart constructor.

Constructors

DeleteLabel' 

Fields

  • labelGroupName :: Text

    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.

  • labelId :: Text

    The ID of the label that you want to delete.

Instances

Instances details
ToJSON DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

ToHeaders DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Methods

toHeaders :: DeleteLabel -> [Header] #

ToPath DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

ToQuery DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

AWSRequest DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Associated Types

type AWSResponse DeleteLabel #

Generic DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Associated Types

type Rep DeleteLabel :: Type -> Type #

Read DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Show DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

NFData DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Methods

rnf :: DeleteLabel -> () #

Eq DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Hashable DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

type AWSResponse DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

type Rep DeleteLabel Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

type Rep DeleteLabel = D1 ('MetaData "DeleteLabel" "Amazonka.LookoutEquipment.DeleteLabel" "amazonka-lookoutequipment-2.0-FBtgEViQ46F6elHeNaa8oC" 'False) (C1 ('MetaCons "DeleteLabel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "labelGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "labelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteLabel Source #

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

Instances details
Generic DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Associated Types

type Rep DeleteLabelResponse :: Type -> Type #

Read DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Show DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

NFData DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

Methods

rnf :: DeleteLabelResponse -> () #

Eq DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

type Rep DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.DeleteLabel

type Rep DeleteLabelResponse = D1 ('MetaData "DeleteLabelResponse" "Amazonka.LookoutEquipment.DeleteLabel" "amazonka-lookoutequipment-2.0-FBtgEViQ46F6elHeNaa8oC" 'False) (C1 ('MetaCons "DeleteLabelResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteLabelResponse :: DeleteLabelResponse Source #

Create a value of DeleteLabelResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.