@Override
    public AcceptEnvironmentAccountConnectionResult acceptEnvironmentAccountConnection(AcceptEnvironmentAccountConnectionRequest request) {
        request = beforeClientExecution(request);
        return executeAcceptEnvironmentAccountConnection(request);
    }
<p>
In a management account, an environment account connection request is accepted. When the environment account
connection request is accepted, Proton can use the associated IAM role to provision environment infrastructure
resources in the associated environment account.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html">Environment account
connections</a> in the <i>Proton User guide</i>.
</p>

@param acceptEnvironmentAccountConnectionRequest
@return Result of the AcceptEnvironmentAccountConnection operation returned by the service.
@throws ValidationException
        The input is invalid or an out-of-range value was supplied for the input parameter.
@throws AccessDeniedException
        There <i>isn't</i> sufficient access for performing this action.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws ConflictException
        The request <i>couldn't</i> be made due to a conflicting operation or resource.
@throws ResourceNotFoundException
        The requested resource <i>wasn't</i> found.
@throws InternalServerException
        The request failed to register with the service.
@sample AWSProton.AcceptEnvironmentAccountConnection
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/AcceptEnvironmentAccountConnection"
     target="_top">AWS API Documentation</a>
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/AWSProtonClient.java