1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartTestSetGeneration`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`test_set_name(impl Into<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::test_set_name) / [`set_test_set_name(Option<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::set_test_set_name):<br>required: **true**<br><p>The test set name for the test set generation request.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::set_description):<br>required: **false**<br><p>The test set description for the test set generation request.</p><br>
    ///   - [`storage_location(TestSetStorageLocation)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::storage_location) / [`set_storage_location(Option<TestSetStorageLocation>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::set_storage_location):<br>required: **true**<br><p>The Amazon S3 storage location for the test set generation.</p><br>
    ///   - [`generation_data_source(TestSetGenerationDataSource)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::generation_data_source) / [`set_generation_data_source(Option<TestSetGenerationDataSource>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::set_generation_data_source):<br>required: **true**<br><p>The data source for the test set generation.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::set_role_arn):<br>required: **true**<br><p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p><br>
    ///   - [`test_set_tags(impl Into<String>, impl Into<String>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::test_set_tags) / [`set_test_set_tags(Option<HashMap::<String, String>>)`](crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::set_test_set_tags):<br>required: **false**<br><p>A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the <code>UpdateTestSet</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p><br>
    /// - On success, responds with [`StartTestSetGenerationOutput`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput) with field(s):
    ///   - [`test_set_generation_id(Option<String>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::test_set_generation_id): <p>The unique identifier of the test set generation to describe.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::creation_date_time): <p>The creation date and time for the test set generation.</p>
    ///   - [`test_set_generation_status(Option<TestSetGenerationStatus>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::test_set_generation_status): <p>The status for the test set generation.</p>
    ///   - [`test_set_name(Option<String>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::test_set_name): <p>The test set name used for the test set generation.</p>
    ///   - [`description(Option<String>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::description): <p>The description used for the test set generation.</p>
    ///   - [`storage_location(Option<TestSetStorageLocation>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::storage_location): <p>The Amazon S3 storage location for the test set generation.</p>
    ///   - [`generation_data_source(Option<TestSetGenerationDataSource>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::generation_data_source): <p>The data source for the test set generation.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::role_arn): <p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p>
    ///   - [`test_set_tags(Option<HashMap::<String, String>>)`](crate::operation::start_test_set_generation::StartTestSetGenerationOutput::test_set_tags): <p>A list of tags that was used for the test set that is being generated.</p>
    /// - On failure, responds with [`SdkError<StartTestSetGenerationError>`](crate::operation::start_test_set_generation::StartTestSetGenerationError)
    pub fn start_test_set_generation(&self) -> crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder {
        crate::operation::start_test_set_generation::builders::StartTestSetGenerationFluentBuilder::new(self.handle.clone())
    }
}