Struct aws_sdk_lexmodelsv2::operation::batch_create_custom_vocabulary_item::BatchCreateCustomVocabularyItemOutput
source · #[non_exhaustive]pub struct BatchCreateCustomVocabularyItemOutput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub errors: Option<Vec<FailedCustomVocabularyItem>>,
pub resources: Option<Vec<CustomVocabularyItem>>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bot_id: Option<String>The identifier of the bot associated with this custom vocabulary.
bot_version: Option<String>The identifier of the version of the bot associated with this custom vocabulary.
locale_id: Option<String>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
errors: Option<Vec<FailedCustomVocabularyItem>>A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.
resources: Option<Vec<CustomVocabularyItem>>A list of custom vocabulary items that were successfully created during the operation.
Implementations§
source§impl BatchCreateCustomVocabularyItemOutput
impl BatchCreateCustomVocabularyItemOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier of the bot associated with this custom vocabulary.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The identifier of the version of the bot associated with this custom vocabulary.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
sourcepub fn errors(&self) -> &[FailedCustomVocabularyItem]
pub fn errors(&self) -> &[FailedCustomVocabularyItem]
A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none().
sourcepub fn resources(&self) -> &[CustomVocabularyItem]
pub fn resources(&self) -> &[CustomVocabularyItem]
A list of custom vocabulary items that were successfully created during the operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none().
source§impl BatchCreateCustomVocabularyItemOutput
impl BatchCreateCustomVocabularyItemOutput
sourcepub fn builder() -> BatchCreateCustomVocabularyItemOutputBuilder
pub fn builder() -> BatchCreateCustomVocabularyItemOutputBuilder
Creates a new builder-style object to manufacture BatchCreateCustomVocabularyItemOutput.
Trait Implementations§
source§impl Clone for BatchCreateCustomVocabularyItemOutput
impl Clone for BatchCreateCustomVocabularyItemOutput
source§fn clone(&self) -> BatchCreateCustomVocabularyItemOutput
fn clone(&self) -> BatchCreateCustomVocabularyItemOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchCreateCustomVocabularyItemOutput
impl PartialEq for BatchCreateCustomVocabularyItemOutput
source§fn eq(&self, other: &BatchCreateCustomVocabularyItemOutput) -> bool
fn eq(&self, other: &BatchCreateCustomVocabularyItemOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchCreateCustomVocabularyItemOutput
impl RequestId for BatchCreateCustomVocabularyItemOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.