aws_sdk_lexmodelsv2/client/
update_test_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTestSet`](crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateTestSetOutput`](crate::operation::update_test_set::UpdateTestSetOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    ///   - [`description(Option<String>)`](crate::operation::update_test_set::UpdateTestSetOutput::description): <p>The test set description for the updated test set.</p>
    ///   - [`modality(Option<TestSetModality>)`](crate::operation::update_test_set::UpdateTestSetOutput::modality): <p>Indicates whether audio or text is used for the updated test set.</p>
    ///   - [`status(Option<TestSetStatus>)`](crate::operation::update_test_set::UpdateTestSetOutput::status): <p>The status for the updated test set.</p>
    ///   - [`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>
    ///   - [`num_turns(Option<i32>)`](crate::operation::update_test_set::UpdateTestSetOutput::num_turns): <p>The number of conversation turns from the updated test set.</p>
    ///   - [`storage_location(Option<TestSetStorageLocation>)`](crate::operation::update_test_set::UpdateTestSetOutput::storage_location): <p>The Amazon S3 storage location for the updated test set.</p>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateTestSetError>`](crate::operation::update_test_set::UpdateTestSetError)
    pub fn update_test_set(&self) -> crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder {
        crate::operation::update_test_set::builders::UpdateTestSetFluentBuilder::new(self.handle.clone())
    }
}