amazonka-lex-models-2.0: Amazon Lex Model Building Service 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.LexModels.DeleteIntentVersion

Description

Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation.

This operation requires permissions for the lex:DeleteIntentVersion action.

Synopsis

Creating a Request

data DeleteIntentVersion Source #

See: newDeleteIntentVersion smart constructor.

Constructors

DeleteIntentVersion' 

Fields

  • name :: Text

    The name of the intent.

  • version :: Text

    The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the DeleteIntent operation.

Instances

Instances details
ToHeaders DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

ToPath DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

ToQuery DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

AWSRequest DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Associated Types

type AWSResponse DeleteIntentVersion #

Generic DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Associated Types

type Rep DeleteIntentVersion :: Type -> Type #

Read DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Show DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

NFData DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Methods

rnf :: DeleteIntentVersion -> () #

Eq DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Hashable DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

type AWSResponse DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

type Rep DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

type Rep DeleteIntentVersion = D1 ('MetaData "DeleteIntentVersion" "Amazonka.LexModels.DeleteIntentVersion" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "DeleteIntentVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteIntentVersion Source #

Create a value of DeleteIntentVersion 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:

DeleteIntentVersion, deleteIntentVersion_name - The name of the intent.

DeleteIntentVersion, deleteIntentVersion_version - The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the DeleteIntent operation.

Request Lenses

deleteIntentVersion_version :: Lens' DeleteIntentVersion Text Source #

The version of the intent to delete. You cannot delete the $LATEST version of the intent. To delete the $LATEST version, use the DeleteIntent operation.

Destructuring the Response

data DeleteIntentVersionResponse Source #

See: newDeleteIntentVersionResponse smart constructor.

Instances

Instances details
Generic DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Associated Types

type Rep DeleteIntentVersionResponse :: Type -> Type #

Read DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Show DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

NFData DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Eq DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

type Rep DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

type Rep DeleteIntentVersionResponse = D1 ('MetaData "DeleteIntentVersionResponse" "Amazonka.LexModels.DeleteIntentVersion" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "DeleteIntentVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteIntentVersionResponse :: DeleteIntentVersionResponse Source #

Create a value of DeleteIntentVersionResponse with all optional fields omitted.

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