Module Smaws_Client_Proton.RejectEnvironmentAccountConnection

val request : Smaws_Lib.Context.t -> reject_environment_account_connection_input -> (reject_environment_account_connection_output, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `ConflictException of conflict_exception | `InternalServerException of internal_server_exception | `ResourceNotFoundException of resource_not_found_exception | `ThrottlingException of throttling_exception | `ValidationException of validation_exception ]) Stdlib.result

In a management account, reject an environment account connection from another environment account.

After you reject an environment account connection request, you can't accept or use the rejected environment account connection.

You can’t reject an environment account connection that's connected to an environment.

For more information, see Environment account connections in the Proton User guide.