amazonka-polly-1.6.0: Amazon Polly SDK.

Copyright(c) 2013-2018 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.Polly.DeleteLexicon

Contents

Description

Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the GetLexicon or ListLexicon APIs.

For more information, see Managing Lexicons .

Synopsis

Creating a Request

deleteLexicon Source #

Arguments

:: Text

dlName

-> DeleteLexicon 

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

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

  • dlName - The name of the lexicon to delete. Must be an existing lexicon in the region.

data DeleteLexicon Source #

See: deleteLexicon smart constructor.

Instances

Eq DeleteLexicon Source # 
Data DeleteLexicon Source # 

Methods

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

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

toConstr :: DeleteLexicon -> Constr #

dataTypeOf :: DeleteLexicon -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeleteLexicon Source # 
Generic DeleteLexicon Source # 

Associated Types

type Rep DeleteLexicon :: * -> * #

Hashable DeleteLexicon Source # 
NFData DeleteLexicon Source # 

Methods

rnf :: DeleteLexicon -> () #

AWSRequest DeleteLexicon Source # 
ToHeaders DeleteLexicon Source # 
ToPath DeleteLexicon Source # 
ToQuery DeleteLexicon Source # 
type Rep DeleteLexicon Source # 
type Rep DeleteLexicon = D1 * (MetaData "DeleteLexicon" "Network.AWS.Polly.DeleteLexicon" "amazonka-polly-1.6.0-1QJ0YWsbVmt2WoIbyfaocF" True) (C1 * (MetaCons "DeleteLexicon'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dlName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Sensitive Text))))
type Rs DeleteLexicon Source # 

Request Lenses

dlName :: Lens' DeleteLexicon Text Source #

The name of the lexicon to delete. Must be an existing lexicon in the region.

Destructuring the Response

deleteLexiconResponse Source #

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

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

data DeleteLexiconResponse Source #

See: deleteLexiconResponse smart constructor.

Instances

Eq DeleteLexiconResponse Source # 
Data DeleteLexiconResponse Source # 

Methods

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

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

toConstr :: DeleteLexiconResponse -> Constr #

dataTypeOf :: DeleteLexiconResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLexiconResponse Source # 
Show DeleteLexiconResponse Source # 
Generic DeleteLexiconResponse Source # 
NFData DeleteLexiconResponse Source # 

Methods

rnf :: DeleteLexiconResponse -> () #

type Rep DeleteLexiconResponse Source # 
type Rep DeleteLexiconResponse = D1 * (MetaData "DeleteLexiconResponse" "Network.AWS.Polly.DeleteLexicon" "amazonka-polly-1.6.0-1QJ0YWsbVmt2WoIbyfaocF" True) (C1 * (MetaCons "DeleteLexiconResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dlrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

dlrsResponseStatus :: Lens' DeleteLexiconResponse Int Source #

  • - | The response status code.