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

Defined in Network.AWS.Polly.DeleteLexicon

Data DeleteLexicon Source # 
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 Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Generic DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexicon :: Type -> Type #

Hashable DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

AWSRequest DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Associated Types

type Rs DeleteLexicon :: Type #

ToHeaders DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

ToPath DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

ToQuery DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

NFData DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Methods

rnf :: DeleteLexicon -> () #

type Rep DeleteLexicon Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

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

Defined in Network.AWS.Polly.DeleteLexicon

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

Defined in Network.AWS.Polly.DeleteLexicon

Data DeleteLexiconResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Show DeleteLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Generic DeleteLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Associated Types

type Rep DeleteLexiconResponse :: Type -> Type #

NFData DeleteLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

Methods

rnf :: DeleteLexiconResponse -> () #

type Rep DeleteLexiconResponse Source # 
Instance details

Defined in Network.AWS.Polly.DeleteLexicon

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

Response Lenses

dlrsResponseStatus :: Lens' DeleteLexiconResponse Int Source #

  • - | The response status code.