aws_sdk_athena/client/get_session_endpoint.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetSessionEndpoint`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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 session ID.</p><br>
7 /// - On success, responds with [`GetSessionEndpointOutput`](crate::operation::get_session_endpoint::GetSessionEndpointOutput) with field(s):
8 /// - [`endpoint_url(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::endpoint_url): <p>The endpoint for connecting to the session.</p>
9 /// - [`auth_token(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token): <p>Authentication token for the connection</p>
10 /// - [`auth_token_expiration_time(DateTime)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token_expiration_time): <p>Expiration time of the auth token.</p>
11 /// - On failure, responds with [`SdkError<GetSessionEndpointError>`](crate::operation::get_session_endpoint::GetSessionEndpointError)
12 pub fn get_session_endpoint(&self) -> crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder {
13 crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::new(self.handle.clone())
14 }
15}