aws_sdk_proton/client/
reject_environment_account_connection.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 [`RejectEnvironmentAccountConnection`](crate::operation::reject_environment_account_connection::builders::RejectEnvironmentAccountConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::reject_environment_account_connection::builders::RejectEnvironmentAccountConnectionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::reject_environment_account_connection::builders::RejectEnvironmentAccountConnectionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the environment account connection to reject.</p><br>
7    /// - On success, responds with [`RejectEnvironmentAccountConnectionOutput`](crate::operation::reject_environment_account_connection::RejectEnvironmentAccountConnectionOutput) with field(s):
8    ///   - [`environment_account_connection(Option<EnvironmentAccountConnection>)`](crate::operation::reject_environment_account_connection::RejectEnvironmentAccountConnectionOutput::environment_account_connection): <p>The environment connection account detail data that's returned by Proton.</p>
9    /// - On failure, responds with [`SdkError<RejectEnvironmentAccountConnectionError>`](crate::operation::reject_environment_account_connection::RejectEnvironmentAccountConnectionError)
10    pub fn reject_environment_account_connection(
11        &self,
12    ) -> crate::operation::reject_environment_account_connection::builders::RejectEnvironmentAccountConnectionFluentBuilder {
13        crate::operation::reject_environment_account_connection::builders::RejectEnvironmentAccountConnectionFluentBuilder::new(self.handle.clone())
14    }
15}