aws_sdk_codecatalyst/client/
get_source_repository.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 [`GetSourceRepository`](crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    /// - On success, responds with [`GetSourceRepositoryOutput`](crate::operation::get_source_repository::GetSourceRepositoryOutput) with field(s):
10    ///   - [`space_name(String)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::space_name): <p>The name of the space.</p>
11    ///   - [`project_name(String)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::project_name): <p>The name of the project in the space.</p>
12    ///   - [`name(String)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::name): <p>The name of the source repository.</p>
13    ///   - [`description(Option<String>)`](crate::operation::get_source_repository::GetSourceRepositoryOutput::description): <p>The description of the source repository.</p>
14    ///   - [`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>
15    ///   - [`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>
16    /// - On failure, responds with [`SdkError<GetSourceRepositoryError>`](crate::operation::get_source_repository::GetSourceRepositoryError)
17    pub fn get_source_repository(&self) -> crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder {
18        crate::operation::get_source_repository::builders::GetSourceRepositoryFluentBuilder::new(self.handle.clone())
19    }
20}