aws_sdk_lexmodelsv2/client/update_test_set.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 [`UpdateTestSet`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`test_set_id(impl Into<String>)`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::test_set_id) / [`set_test_set_id(Option<String>)`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::set_test_set_id):<br>required: **true**<br><p>The test set Id for which update test operation to be performed.</p><br>
7 /// - [`test_set_name(impl Into<String>)`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::test_set_name) / [`set_test_set_name(Option<String>)`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::set_test_set_name):<br>required: **true**<br><p>The new test set name.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::set_description):<br>required: **false**<br><p>The new test set description.</p><br>
9 /// - On success, responds with [`UpdateTestSetOutput`](crate::operation::update_test_set::UpdateTestSetOutput) with field(s):
10 /// - [`test_set_id(Option<String>)`](crate::operation::update_test_set::UpdateTestSetOutput::test_set_id): <p>The test set Id for which update test operation to be performed.</p>
11 /// - [`test_set_name(Option<String>)`](crate::operation::update_test_set::UpdateTestSetOutput::test_set_name): <p>The test set name for the updated test set.</p>
12 /// - [`description(Option<String>)`](crate::operation::update_test_set::UpdateTestSetOutput::description): <p>The test set description for the updated test set.</p>
13 /// - [`modality(Option<TestSetModality>)`](crate::operation::update_test_set::UpdateTestSetOutput::modality): <p>Indicates whether audio or text is used for the updated test set.</p>
14 /// - [`status(Option<TestSetStatus>)`](crate::operation::update_test_set::UpdateTestSetOutput::status): <p>The status for the updated test set.</p>
15 /// - [`role_arn(Option<String>)`](crate::operation::update_test_set::UpdateTestSetOutput::role_arn): <p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p>
16 /// - [`num_turns(Option<i32>)`](crate::operation::update_test_set::UpdateTestSetOutput::num_turns): <p>The number of conversation turns from the updated test set.</p>
17 /// - [`storage_location(Option<TestSetStorageLocation>)`](crate::operation::update_test_set::UpdateTestSetOutput::storage_location): <p>The Amazon S3 storage location for the updated test set.</p>
18 /// - [`creation_date_time(Option<DateTime>)`](crate::operation::update_test_set::UpdateTestSetOutput::creation_date_time): <p>The creation date and time for the updated test set.</p>
19 /// - [`last_updated_date_time(Option<DateTime>)`](crate::operation::update_test_set::UpdateTestSetOutput::last_updated_date_time): <p>The date and time of the last update for the updated test set.</p>
20 /// - On failure, responds with [`SdkError<UpdateTestSetError>`](crate::operation::update_test_set::UpdateTestSetError)
21 pub fn update_test_set(&self) -> crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder {
22 crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::new(self.handle.clone())
23 }
24}