1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRepositoryEndpoint`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain(impl Into<String>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::set_domain):<br>required: **true**<br><p> The name of the domain that contains the repository. </p><br>
    ///   - [`domain_owner(impl Into<String>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::domain_owner) / [`set_domain_owner(Option<String>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::set_domain_owner):<br>required: **false**<br><p> The 12-digit account number of the Amazon Web Services account that owns the domain that contains the repository. It does not include dashes or spaces. </p><br>
    ///   - [`repository(impl Into<String>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::repository) / [`set_repository(Option<String>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::set_repository):<br>required: **true**<br><p> The name of the repository. </p><br>
    ///   - [`format(PackageFormat)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::format) / [`set_format(Option<PackageFormat>)`](crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::set_format):<br>required: **true**<br><p> Returns which endpoint of a repository to return. A repository has one endpoint for each package format. </p><br>
    /// - On success, responds with [`GetRepositoryEndpointOutput`](crate::operation::get_repository_endpoint::GetRepositoryEndpointOutput) with field(s):
    ///   - [`repository_endpoint(Option<String>)`](crate::operation::get_repository_endpoint::GetRepositoryEndpointOutput::repository_endpoint): <p> A string that specifies the URL of the returned endpoint. </p>
    /// - On failure, responds with [`SdkError<GetRepositoryEndpointError>`](crate::operation::get_repository_endpoint::GetRepositoryEndpointError)
    pub fn get_repository_endpoint(&self) -> crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder {
        crate::operation::get_repository_endpoint::builders::GetRepositoryEndpointFluentBuilder::new(self.handle.clone())
    }
}