Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Translates a textual identifier into a user-readable text in a specified locale.
See: AWS API Reference for LocalizeText.
- localizeText :: LocalizeText
- data LocalizeText
- ltLocale :: Lens' LocalizeText (Maybe Text)
- ltLocalizedTexts :: Lens' LocalizeText [LocalizedText]
- localizeTextResponse :: Int -> LocalizeTextResponse
- data LocalizeTextResponse
- ltrsResults :: Lens' LocalizeTextResponse [Text]
- ltrsMessage :: Lens' LocalizeTextResponse (Maybe Text)
- ltrsResponseStatus :: Lens' LocalizeTextResponse Int
Creating a Request
localizeText :: LocalizeText Source
Creates a value of LocalizeText
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LocalizeText Source
See: localizeText
smart constructor.
Request Lenses
ltLocale :: Lens' LocalizeText (Maybe Text) Source
The locale that you want to translate a textual identifier into.
ltLocalizedTexts :: Lens' LocalizeText [LocalizedText] Source
A list of textual identifiers.
Destructuring the Response
Creates a value of LocalizeTextResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LocalizeTextResponse Source
See: localizeTextResponse
smart constructor.
Response Lenses
ltrsResults :: Lens' LocalizeTextResponse [Text] Source
The resulting list of user-readable texts.
ltrsMessage :: Lens' LocalizeTextResponse (Maybe Text) Source
Confirmation details of the action performed.
ltrsResponseStatus :: Lens' LocalizeTextResponse Int Source
The response status code.