def publish(app_id, application_publish_object, custom_headers:nil)
      response = publish_async(app_id, application_publish_object, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def publish(app_id, application_publish_object, custom_headers:nil)
      response = publish_async(app_id, application_publish_object, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Publishes a specific version of the application.

 @param app_id The application ID.
 @param application_publish_object [ApplicationPublishObject] The application
 publish object. The region is the target region that the application is
 published to.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ProductionOrStagingEndpointInfo] operation results.