// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetSessionEndpoint`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`cluster_id(impl Into<String>)`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The ID of the cluster that the session belongs to.</p><br>
/// - [`session_id(impl Into<String>)`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::set_session_id):<br>required: **true**<br><p>The ID of the session.</p><br>
/// - On success, responds with [`GetSessionEndpointOutput`](crate::operation::get_session_endpoint::GetSessionEndpointOutput) with field(s):
/// - [`endpoint(Option<String>)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::endpoint): <p>The Spark Connect endpoint URL to use in the PySpark client.</p>
/// - [`auth_token(Option<String>)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token): <p>A time-limited authentication token used to connect to the Spark Connect endpoint.</p>
/// - [`auth_token_expiration_time(Option<DateTime>)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token_expiration_time): <p>The time at which the authentication token expires. After this time, call <code>GetSessionEndpoint</code> again to obtain a new token.</p>
/// - [`credentials(Option<Credentials>)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::credentials): <p>Username and password used to authenticate with the Spark Connect server when connecting directly over VPC peering.</p>
/// - On failure, responds with [`SdkError<GetSessionEndpointError>`](crate::operation::get_session_endpoint::GetSessionEndpointError)
pub fn get_session_endpoint(&self) -> crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder {
crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::new(self.handle.clone())
}
}