amazonka-lex-models-1.5.0: Amazon Lex Model Building Service SDK.

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

Network.AWS.LexModels.DeleteIntentVersion

Contents

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

deleteIntentVersion Source #

Creates a value of DeleteIntentVersion with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • divName - The name of the intent.
  • divVersion - 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.

data DeleteIntentVersion Source #

See: deleteIntentVersion smart constructor.

Instances

Eq DeleteIntentVersion Source # 
Data DeleteIntentVersion Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteIntentVersion -> c DeleteIntentVersion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteIntentVersion #

toConstr :: DeleteIntentVersion -> Constr #

dataTypeOf :: DeleteIntentVersion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteIntentVersion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteIntentVersion) #

gmapT :: (forall b. Data b => b -> b) -> DeleteIntentVersion -> DeleteIntentVersion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIntentVersion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIntentVersion -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteIntentVersion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteIntentVersion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteIntentVersion -> m DeleteIntentVersion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIntentVersion -> m DeleteIntentVersion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIntentVersion -> m DeleteIntentVersion #

Read DeleteIntentVersion Source # 
Show DeleteIntentVersion Source # 
Generic DeleteIntentVersion Source # 
Hashable DeleteIntentVersion Source # 
NFData DeleteIntentVersion Source # 

Methods

rnf :: DeleteIntentVersion -> () #

AWSRequest DeleteIntentVersion Source # 
ToQuery DeleteIntentVersion Source # 
ToPath DeleteIntentVersion Source # 
ToHeaders DeleteIntentVersion Source # 
type Rep DeleteIntentVersion Source # 
type Rep DeleteIntentVersion = D1 (MetaData "DeleteIntentVersion" "Network.AWS.LexModels.DeleteIntentVersion" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "DeleteIntentVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_divName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_divVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteIntentVersion Source # 

Request Lenses

divName :: Lens' DeleteIntentVersion Text Source #

The name of the intent.

divVersion :: 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

deleteIntentVersionResponse :: DeleteIntentVersionResponse Source #

Creates a value of DeleteIntentVersionResponse with the minimum fields required to make a request.

data DeleteIntentVersionResponse Source #

See: deleteIntentVersionResponse smart constructor.

Instances

Eq DeleteIntentVersionResponse Source # 
Data DeleteIntentVersionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteIntentVersionResponse -> c DeleteIntentVersionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteIntentVersionResponse #

toConstr :: DeleteIntentVersionResponse -> Constr #

dataTypeOf :: DeleteIntentVersionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteIntentVersionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteIntentVersionResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteIntentVersionResponse -> DeleteIntentVersionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIntentVersionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteIntentVersionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteIntentVersionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteIntentVersionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteIntentVersionResponse -> m DeleteIntentVersionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIntentVersionResponse -> m DeleteIntentVersionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteIntentVersionResponse -> m DeleteIntentVersionResponse #

Read DeleteIntentVersionResponse Source # 
Show DeleteIntentVersionResponse Source # 
Generic DeleteIntentVersionResponse Source # 
NFData DeleteIntentVersionResponse Source # 
type Rep DeleteIntentVersionResponse Source # 
type Rep DeleteIntentVersionResponse = D1 (MetaData "DeleteIntentVersionResponse" "Network.AWS.LexModels.DeleteIntentVersion" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "DeleteIntentVersionResponse'" PrefixI False) U1)