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 metadata information about a custom vocabulary.
Synopsis
- data DescribeCustomVocabularyMetadata = DescribeCustomVocabularyMetadata' {}
- newDescribeCustomVocabularyMetadata :: Text -> Text -> Text -> DescribeCustomVocabularyMetadata
- describeCustomVocabularyMetadata_botId :: Lens' DescribeCustomVocabularyMetadata Text
- describeCustomVocabularyMetadata_botVersion :: Lens' DescribeCustomVocabularyMetadata Text
- describeCustomVocabularyMetadata_localeId :: Lens' DescribeCustomVocabularyMetadata Text
- data DescribeCustomVocabularyMetadataResponse = DescribeCustomVocabularyMetadataResponse' {}
- newDescribeCustomVocabularyMetadataResponse :: Int -> DescribeCustomVocabularyMetadataResponse
- describeCustomVocabularyMetadataResponse_botId :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe Text)
- describeCustomVocabularyMetadataResponse_botVersion :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe Text)
- describeCustomVocabularyMetadataResponse_creationDateTime :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe UTCTime)
- describeCustomVocabularyMetadataResponse_customVocabularyStatus :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe CustomVocabularyStatus)
- describeCustomVocabularyMetadataResponse_lastUpdatedDateTime :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe UTCTime)
- describeCustomVocabularyMetadataResponse_localeId :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe Text)
- describeCustomVocabularyMetadataResponse_httpStatus :: Lens' DescribeCustomVocabularyMetadataResponse Int
Creating a Request
data DescribeCustomVocabularyMetadata Source #
See: newDescribeCustomVocabularyMetadata
smart constructor.
Instances
newDescribeCustomVocabularyMetadata Source #
:: Text | |
-> Text | |
-> Text | |
-> DescribeCustomVocabularyMetadata |
Create a value of DescribeCustomVocabularyMetadata
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:
DescribeCustomVocabularyMetadata
, describeCustomVocabularyMetadata_botId
- The unique identifier of the bot that contains the custom vocabulary.
DescribeCustomVocabularyMetadata
, describeCustomVocabularyMetadata_botVersion
- The bot version of the bot to return metadata for.
DescribeCustomVocabularyMetadata
, describeCustomVocabularyMetadata_localeId
- The locale to return the custom vocabulary information for. The locale
must be en_GB
.
Request Lenses
describeCustomVocabularyMetadata_botId :: Lens' DescribeCustomVocabularyMetadata Text Source #
The unique identifier of the bot that contains the custom vocabulary.
describeCustomVocabularyMetadata_botVersion :: Lens' DescribeCustomVocabularyMetadata Text Source #
The bot version of the bot to return metadata for.
describeCustomVocabularyMetadata_localeId :: Lens' DescribeCustomVocabularyMetadata Text Source #
The locale to return the custom vocabulary information for. The locale
must be en_GB
.
Destructuring the Response
data DescribeCustomVocabularyMetadataResponse Source #
See: newDescribeCustomVocabularyMetadataResponse
smart constructor.
DescribeCustomVocabularyMetadataResponse' | |
|
Instances
newDescribeCustomVocabularyMetadataResponse Source #
Create a value of DescribeCustomVocabularyMetadataResponse
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:
DescribeCustomVocabularyMetadata
, describeCustomVocabularyMetadataResponse_botId
- The identifier of the bot that contains the custom vocabulary.
DescribeCustomVocabularyMetadata
, describeCustomVocabularyMetadataResponse_botVersion
- The version of the bot that contains the custom vocabulary to describe.
DescribeCustomVocabularyMetadataResponse
, describeCustomVocabularyMetadataResponse_creationDateTime
- The date and time that the custom vocabulary was created.
$sel:customVocabularyStatus:DescribeCustomVocabularyMetadataResponse'
, describeCustomVocabularyMetadataResponse_customVocabularyStatus
- The status of the custom vocabulary. If the status is Ready
the custom
vocabulary is ready to use.
DescribeCustomVocabularyMetadataResponse
, describeCustomVocabularyMetadataResponse_lastUpdatedDateTime
- The date and time that the custom vocabulary was last updated.
DescribeCustomVocabularyMetadata
, describeCustomVocabularyMetadataResponse_localeId
- The locale that contains the custom vocabulary to describe.
$sel:httpStatus:DescribeCustomVocabularyMetadataResponse'
, describeCustomVocabularyMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
describeCustomVocabularyMetadataResponse_botId :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe Text) Source #
The identifier of the bot that contains the custom vocabulary.
describeCustomVocabularyMetadataResponse_botVersion :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe Text) Source #
The version of the bot that contains the custom vocabulary to describe.
describeCustomVocabularyMetadataResponse_creationDateTime :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe UTCTime) Source #
The date and time that the custom vocabulary was created.
describeCustomVocabularyMetadataResponse_customVocabularyStatus :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe CustomVocabularyStatus) Source #
The status of the custom vocabulary. If the status is Ready
the custom
vocabulary is ready to use.
describeCustomVocabularyMetadataResponse_lastUpdatedDateTime :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe UTCTime) Source #
The date and time that the custom vocabulary was last updated.
describeCustomVocabularyMetadataResponse_localeId :: Lens' DescribeCustomVocabularyMetadataResponse (Maybe Text) Source #
The locale that contains the custom vocabulary to describe.
describeCustomVocabularyMetadataResponse_httpStatus :: Lens' DescribeCustomVocabularyMetadataResponse Int Source #
The response's http status code.