aws_sdk_codedeploy/client/
delete_git_hub_account_token.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 [`DeleteGitHubAccountToken`](crate::operation::delete_git_hub_account_token::builders::DeleteGitHubAccountTokenFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`token_name(impl Into<String>)`](crate::operation::delete_git_hub_account_token::builders::DeleteGitHubAccountTokenFluentBuilder::token_name) / [`set_token_name(Option<String>)`](crate::operation::delete_git_hub_account_token::builders::DeleteGitHubAccountTokenFluentBuilder::set_token_name):<br>required: **false**<br><p>The name of the GitHub account connection to delete.</p><br>
7    /// - On success, responds with [`DeleteGitHubAccountTokenOutput`](crate::operation::delete_git_hub_account_token::DeleteGitHubAccountTokenOutput) with field(s):
8    ///   - [`token_name(Option<String>)`](crate::operation::delete_git_hub_account_token::DeleteGitHubAccountTokenOutput::token_name): <p>The name of the GitHub account connection that was deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteGitHubAccountTokenError>`](crate::operation::delete_git_hub_account_token::DeleteGitHubAccountTokenError)
10    pub fn delete_git_hub_account_token(&self) -> crate::operation::delete_git_hub_account_token::builders::DeleteGitHubAccountTokenFluentBuilder {
11        crate::operation::delete_git_hub_account_token::builders::DeleteGitHubAccountTokenFluentBuilder::new(self.handle.clone())
12    }
13}