Struct aws_sdk_proton::client::fluent_builders::RejectEnvironmentAccountConnection [−][src]
pub struct RejectEnvironmentAccountConnection<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to RejectEnvironmentAccountConnection.
In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you won’t be able to accept or use the rejected environment account connection.
You can’t reject an environment account connection that is connected to an environment.
For more information, see Environment account connections in the Proton Administrator guide.
Implementations
impl<C, M, R> RejectEnvironmentAccountConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RejectEnvironmentAccountConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RejectEnvironmentAccountConnectionOutput, SdkError<RejectEnvironmentAccountConnectionError>> where
R::Policy: SmithyRetryPolicy<RejectEnvironmentAccountConnectionInputOperationOutputAlias, RejectEnvironmentAccountConnectionOutput, RejectEnvironmentAccountConnectionError, RejectEnvironmentAccountConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RejectEnvironmentAccountConnectionOutput, SdkError<RejectEnvironmentAccountConnectionError>> where
R::Policy: SmithyRetryPolicy<RejectEnvironmentAccountConnectionInputOperationOutputAlias, RejectEnvironmentAccountConnectionOutput, RejectEnvironmentAccountConnectionError, RejectEnvironmentAccountConnectionInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the environment account connection to reject.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for RejectEnvironmentAccountConnection<C, M, R>
impl<C, M, R> Send for RejectEnvironmentAccountConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RejectEnvironmentAccountConnection<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RejectEnvironmentAccountConnection<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for RejectEnvironmentAccountConnection<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
