1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateExternalConnection`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain(impl Into<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::set_domain):<br>required: **true**<br><p>The name of the domain that contains the repository from which to remove the external repository.</p><br>
    ///   - [`domain_owner(impl Into<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::domain_owner) / [`set_domain_owner(Option<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::set_domain_owner):<br>required: **false**<br><p>The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.</p><br>
    ///   - [`repository(impl Into<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::repository) / [`set_repository(Option<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::set_repository):<br>required: **true**<br><p>The name of the repository from which the external connection will be removed.</p><br>
    ///   - [`external_connection(impl Into<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::external_connection) / [`set_external_connection(Option<String>)`](crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::set_external_connection):<br>required: **true**<br><p>The name of the external connection to be removed from the repository.</p><br>
    /// - On success, responds with [`DisassociateExternalConnectionOutput`](crate::operation::disassociate_external_connection::DisassociateExternalConnectionOutput) with field(s):
    ///   - [`repository(Option<RepositoryDescription>)`](crate::operation::disassociate_external_connection::DisassociateExternalConnectionOutput::repository): <p>The repository associated with the removed external connection.</p>
    /// - On failure, responds with [`SdkError<DisassociateExternalConnectionError>`](crate::operation::disassociate_external_connection::DisassociateExternalConnectionError)
    pub fn disassociate_external_connection(
        &self,
    ) -> crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder {
        crate::operation::disassociate_external_connection::builders::DisassociateExternalConnectionFluentBuilder::new(self.handle.clone())
    }
}