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
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteBranch`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_name(impl Into<String>)`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
    ///   - [`environment_name(impl Into<String>)`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the environment.</p><br>
    ///   - [`branch_name(impl Into<String>)`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::set_branch_name):<br>required: **true**<br><p>The name of the branch to delete.</p><br>
    /// - On success, responds with [`DeleteBranchOutput`](crate::operation::delete_branch::DeleteBranchOutput)
    /// - On failure, responds with [`SdkError<DeleteBranchError>`](crate::operation::delete_branch::DeleteBranchError)
    pub fn delete_branch(&self) -> crate::operation::delete_branch::builders::DeleteBranchFluentBuilder {
        crate::operation::delete_branch::builders::DeleteBranchFluentBuilder::new(self.handle.clone())
    }
}