1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSourceRepository`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_name(impl Into<String>)`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
    ///   - [`project_name(impl Into<String>)`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project in the space.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::set_name):<br>required: **true**<br><p>The name of the source repository.</p><br>
    /// - On success, responds with [`GetSourceRepositoryOutput`](crate::operation::get_source_repository::GetSourceRepositoryOutput) with field(s):
    ///   - [`space_name(String)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::space_name): <p>The name of the space.</p>
    ///   - [`project_name(String)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::project_name): <p>The name of the project in the space.</p>
    ///   - [`name(String)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::name): <p>The name of the source repository.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::description): <p>The description of the source repository.</p>
    ///   - [`last_updated_time(DateTime)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::last_updated_time): <p>The time the source repository was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
    ///   - [`created_time(DateTime)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::created_time): <p>The time the source repository was created, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
    /// - On failure, responds with [`SdkError<GetSourceRepositoryError>`](crate::operation::get_source_repository::GetSourceRepositoryError)
    pub fn get_source_repository(&self) -> crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder {
        crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::new(self.handle.clone())
    }
}