amazonka-polly-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Data DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.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 # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Generic DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexicon :: Type -> Type #

Hashable DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

AWSRequest DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Associated Types

type Rs DeleteLexicon :: Type #

ToHeaders DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

ToPath DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

ToQuery DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

NFData DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Methods

rnf :: DeleteLexicon -> () #

type Rep DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

type Rep DeleteLexicon = D1 (MetaData "DeleteLexicon" "Network.AWS.Polly.DeleteLexicon" "amazonka-polly-1.6.1-2IwsfrEVc5c8vKHoB26sNU" True) (C1 (MetaCons "DeleteLexicon'" PrefixI True) (S1 (MetaSel (Just "_dlName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Sensitive Text))))
type Rs DeleteLexicon # 
Instance details

Defined in Network.AWS.Polly.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 # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Data DeleteLexiconResponse # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

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 # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Show DeleteLexiconResponse # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Generic DeleteLexiconResponse # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexiconResponse :: Type -> Type #

NFData DeleteLexiconResponse # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Methods

rnf :: DeleteLexiconResponse -> () #

type Rep DeleteLexiconResponse # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

type Rep DeleteLexiconResponse = D1 (MetaData "DeleteLexiconResponse" "Network.AWS.Polly.DeleteLexicon" "amazonka-polly-1.6.1-2IwsfrEVc5c8vKHoB26sNU" True) (C1 (MetaCons "DeleteLexiconResponse'" PrefixI True) (S1 (MetaSel (Just "_dlrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

dlrsResponseStatus :: Lens' DeleteLexiconResponse Int #

  • - | The response status code.