def stop_environment(user_name, environment_operations_payload, custom_headers:nil)
      response = stop_environment_async(user_name, environment_operations_payload, custom_headers:custom_headers).value!
      nil
    end
def stop_environment(user_name, environment_operations_payload, custom_headers:nil)
      response = stop_environment_async(user_name, environment_operations_payload, custom_headers:custom_headers).value!
      nil
    end
Stops an environment by stopping all resources inside the environment This
 operation can take a while to complete

 @param user_name [String] The name of the user.
 @param environment_operations_payload [EnvironmentOperationsPayload]
 Represents payload for any Environment operations like get, start, stop,
 connect
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.