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 #

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 #

See: deleteLexicon smart constructor.

Instances

Eq DeleteLexicon # 
Data DeleteLexicon # 

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 # 
Generic DeleteLexicon # 

Associated Types

type Rep DeleteLexicon :: * -> * #

Hashable DeleteLexicon # 
NFData DeleteLexicon # 

Methods

rnf :: DeleteLexicon -> () #

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

Request Lenses

dlName :: Lens' DeleteLexicon Text #

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

Destructuring the Response

deleteLexiconResponse #

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 #

See: deleteLexiconResponse smart constructor.

Instances

Eq DeleteLexiconResponse # 
Data DeleteLexiconResponse # 

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 # 
Show DeleteLexiconResponse # 
Generic DeleteLexiconResponse # 
NFData DeleteLexiconResponse # 

Methods

rnf :: DeleteLexiconResponse -> () #

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

Response Lenses

dlrsResponseStatus :: Lens' DeleteLexiconResponse Int #

  • - | The response status code.