libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Read DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Show DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Generic DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Associated Types

type Rep DeleteIntentVersion :: Type -> Type #

NFData DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Methods

rnf :: DeleteIntentVersion -> () #

Hashable DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

AWSRequest DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Associated Types

type AWSResponse DeleteIntentVersion #

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

type Rep DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

type Rep DeleteIntentVersion = D1 ('MetaData "DeleteIntentVersion" "Amazonka.LexModels.DeleteIntentVersion" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "DeleteIntentVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteIntentVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

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:

$sel:name:DeleteIntentVersion', deleteIntentVersion_name - The name of the intent.

$sel:version: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
Eq DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Read DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Show DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Generic DeleteIntentVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteIntentVersion

Associated Types

type Rep DeleteIntentVersionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" '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.