aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteGitConnection`](crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`provider(GitProvider)`](crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder::provider) / [`set_provider(Option<GitProvider>)`](crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder::set_provider):<br>required: **true**<br><p>The Git provider.</p><br>
    ///   - [`owner(impl Into<String>)`](crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder::owner) / [`set_owner(Option<String>)`](crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder::set_owner):<br>required: **true**<br><p>The account that the Git connection is for. The value depends on the provider:</p> <ul>  <li>   <p>For GitHub, specify the user or organization name.</p></li>  <li>   <p>For GitLab, specify the user name.</p></li> </ul> <p>To get this value, call ListGitConnections.</p><br>
    /// - On success, responds with [`DeleteGitConnectionOutput`](crate::operation::delete_git_connection::DeleteGitConnectionOutput)
    /// - On failure, responds with [`SdkError<DeleteGitConnectionError>`](crate::operation::delete_git_connection::DeleteGitConnectionError)
    pub fn delete_git_connection(&self) -> crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder {
        crate::operation::delete_git_connection::builders::DeleteGitConnectionFluentBuilder::new(self.handle.clone())
    }
}