// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PublishDraft`](crate::operation::publish_draft::builders::PublishDraftFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::publish_draft::builders::PublishDraftFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::publish_draft::builders::PublishDraftFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
/// - On success, responds with [`PublishDraftOutput`](crate::operation::publish_draft::PublishDraftOutput) with field(s):
/// - [`app(Option<App>)`](crate::operation::publish_draft::PublishDraftOutput::app): The app after publish. The published draft is now live.
/// - On failure, responds with [`SdkError<PublishDraftError>`](crate::operation::publish_draft::PublishDraftError)
pub fn publish_draft(&self) -> crate::operation::publish_draft::builders::PublishDraftFluentBuilder {
crate::operation::publish_draft::builders::PublishDraftFluentBuilder::new(self.handle.clone())
}
}