| 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 |
Network.AWS.Inspector.LocalizeText
Description
Translates a textual identifier into a user-readable text in a specified locale.
See: AWS API Reference for LocalizeText.
- localizeText :: Text -> LocalizeText
- data LocalizeText
- ltLocalizedTexts :: Lens' LocalizeText [LocalizedText]
- ltLocale :: Lens' LocalizeText Text
- localizeTextResponse :: Int -> LocalizeTextResponse
- data LocalizeTextResponse
- ltrsResults :: Lens' LocalizeTextResponse [Text]
- ltrsMessage :: Lens' LocalizeTextResponse (Maybe Text)
- ltrsResponseStatus :: Lens' LocalizeTextResponse Int
Creating a Request
Arguments
| :: Text | |
| -> LocalizeText |
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.
Instances
Request Lenses
ltLocalizedTexts :: Lens' LocalizeText [LocalizedText] Source
A list of textual identifiers.
ltLocale :: Lens' LocalizeText Text Source
The locale that you want to translate a textual identifier into.
Destructuring the Response
Arguments
| :: Int | |
| -> LocalizeTextResponse |
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.