aws_sdk_lexmodelsv2/client/describe_custom_vocabulary_metadata.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeCustomVocabularyMetadata`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bot_id(impl Into<String>)`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot that contains the custom vocabulary.</p><br>
7 /// - [`bot_version(impl Into<String>)`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::set_bot_version):<br>required: **true**<br><p>The bot version of the bot to return metadata for.</p><br>
8 /// - [`locale_id(impl Into<String>)`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::set_locale_id):<br>required: **true**<br><p>The locale to return the custom vocabulary information for. The locale must be <code>en_GB</code>.</p><br>
9 /// - On success, responds with [`DescribeCustomVocabularyMetadataOutput`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput) with field(s):
10 /// - [`bot_id(Option<String>)`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput::bot_id): <p>The identifier of the bot that contains the custom vocabulary.</p>
11 /// - [`bot_version(Option<String>)`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput::bot_version): <p>The version of the bot that contains the custom vocabulary to describe.</p>
12 /// - [`locale_id(Option<String>)`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput::locale_id): <p>The locale that contains the custom vocabulary to describe.</p>
13 /// - [`custom_vocabulary_status(Option<CustomVocabularyStatus>)`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput::custom_vocabulary_status): <p>The status of the custom vocabulary. If the status is <code>Ready</code> the custom vocabulary is ready to use.</p>
14 /// - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput::creation_date_time): <p>The date and time that the custom vocabulary was created.</p>
15 /// - [`last_updated_date_time(Option<DateTime>)`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataOutput::last_updated_date_time): <p>The date and time that the custom vocabulary was last updated.</p>
16 /// - On failure, responds with [`SdkError<DescribeCustomVocabularyMetadataError>`](crate::operation::describe_custom_vocabulary_metadata::DescribeCustomVocabularyMetadataError)
17 pub fn describe_custom_vocabulary_metadata(
18 &self,
19 ) -> crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder {
20 crate::operation::describe_custom_vocabulary_metadata::builders::DescribeCustomVocabularyMetadataFluentBuilder::new(self.handle.clone())
21 }
22}