Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provides information about the specified custom vocabulary filter.
To get a list of your custom vocabulary filters, use the operation.
Synopsis
- data GetVocabularyFilter = GetVocabularyFilter' {}
- newGetVocabularyFilter :: Text -> GetVocabularyFilter
- getVocabularyFilter_vocabularyFilterName :: Lens' GetVocabularyFilter Text
- data GetVocabularyFilterResponse = GetVocabularyFilterResponse' {}
- newGetVocabularyFilterResponse :: Int -> GetVocabularyFilterResponse
- getVocabularyFilterResponse_downloadUri :: Lens' GetVocabularyFilterResponse (Maybe Text)
- getVocabularyFilterResponse_languageCode :: Lens' GetVocabularyFilterResponse (Maybe LanguageCode)
- getVocabularyFilterResponse_lastModifiedTime :: Lens' GetVocabularyFilterResponse (Maybe UTCTime)
- getVocabularyFilterResponse_vocabularyFilterName :: Lens' GetVocabularyFilterResponse (Maybe Text)
- getVocabularyFilterResponse_httpStatus :: Lens' GetVocabularyFilterResponse Int
Creating a Request
data GetVocabularyFilter Source #
See: newGetVocabularyFilter
smart constructor.
GetVocabularyFilter' | |
|
Instances
newGetVocabularyFilter Source #
Create a value of GetVocabularyFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetVocabularyFilter
, getVocabularyFilter_vocabularyFilterName
- The name of the custom vocabulary filter you want information about.
Custom vocabulary filter names are case sensitive.
Request Lenses
getVocabularyFilter_vocabularyFilterName :: Lens' GetVocabularyFilter Text Source #
The name of the custom vocabulary filter you want information about. Custom vocabulary filter names are case sensitive.
Destructuring the Response
data GetVocabularyFilterResponse Source #
See: newGetVocabularyFilterResponse
smart constructor.
GetVocabularyFilterResponse' | |
|
Instances
newGetVocabularyFilterResponse Source #
Create a value of GetVocabularyFilterResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:downloadUri:GetVocabularyFilterResponse'
, getVocabularyFilterResponse_downloadUri
- The Amazon S3 location where the custom vocabulary filter is stored; use
this URI to view or download the custom vocabulary filter.
GetVocabularyFilterResponse
, getVocabularyFilterResponse_languageCode
- The language code you selected for your custom vocabulary filter.
GetVocabularyFilterResponse
, getVocabularyFilterResponse_lastModifiedTime
- The date and time the specified custom vocabulary filter was last
modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on
May 4, 2022.
GetVocabularyFilter
, getVocabularyFilterResponse_vocabularyFilterName
- The name of the custom vocabulary filter you requested information
about.
$sel:httpStatus:GetVocabularyFilterResponse'
, getVocabularyFilterResponse_httpStatus
- The response's http status code.
Response Lenses
getVocabularyFilterResponse_downloadUri :: Lens' GetVocabularyFilterResponse (Maybe Text) Source #
The Amazon S3 location where the custom vocabulary filter is stored; use this URI to view or download the custom vocabulary filter.
getVocabularyFilterResponse_languageCode :: Lens' GetVocabularyFilterResponse (Maybe LanguageCode) Source #
The language code you selected for your custom vocabulary filter.
getVocabularyFilterResponse_lastModifiedTime :: Lens' GetVocabularyFilterResponse (Maybe UTCTime) Source #
The date and time the specified custom vocabulary filter was last modified.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on
May 4, 2022.
getVocabularyFilterResponse_vocabularyFilterName :: Lens' GetVocabularyFilterResponse (Maybe Text) Source #
The name of the custom vocabulary filter you requested information about.
getVocabularyFilterResponse_httpStatus :: Lens' GetVocabularyFilterResponse Int Source #
The response's http status code.