aws_sdk_deadline/client/update_session.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSession`](crate::operation::update_session::builders::UpdateSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_token(impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_client_token):<br>required: **false**<br><p>The unique token which the server uses to recognize retries of the same request.</p><br>
/// - [`farm_id(impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID to update in the session.</p><br>
/// - [`queue_id(impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID to update in the session.</p><br>
/// - [`job_id(impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID to update in the session.</p><br>
/// - [`session_id(impl Into<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The session ID to update.</p><br>
/// - [`target_lifecycle_status(SessionLifecycleTargetStatus)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::target_lifecycle_status) / [`set_target_lifecycle_status(Option<SessionLifecycleTargetStatus>)`](crate::operation::update_session::builders::UpdateSessionFluentBuilder::set_target_lifecycle_status):<br>required: **true**<br><p>The life cycle status to update in the session.</p><br>
/// - On success, responds with [`UpdateSessionOutput`](crate::operation::update_session::UpdateSessionOutput)
/// - On failure, responds with [`SdkError<UpdateSessionError>`](crate::operation::update_session::UpdateSessionError)
pub fn update_session(&self) -> crate::operation::update_session::builders::UpdateSessionFluentBuilder {
crate::operation::update_session::builders::UpdateSessionFluentBuilder::new(self.handle.clone())
}
}