aws_sdk_emrserverless/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 /// - [`application_id(impl Into<String>)`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::set_application_id):<br>required: **true**<br><p>The ID of the application that the session belongs to.</p><br>
7 /// - [`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>
8 /// - On success, responds with [`GetSessionEndpointOutput`](crate::operation::get_session_endpoint::GetSessionEndpointOutput) with field(s):
9 /// - [`application_id(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::application_id): <p>The output contains the ID of the application.</p>
10 /// - [`session_id(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::session_id): <p>The output contains the ID of the session.</p>
11 /// - [`endpoint(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::endpoint): <p>The endpoint URL for connecting to the session.</p>
12 /// - [`auth_token(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token): <p>The authentication token for connecting to the session endpoint. Call <code>GetSessionEndpoint</code> again to obtain a new token before it expires.</p>
13 /// - [`auth_token_expires_at(DateTime)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token_expires_at): <p>The expiration time of the authentication token.</p>
14 /// - On failure, responds with [`SdkError<GetSessionEndpointError>`](crate::operation::get_session_endpoint::GetSessionEndpointError)
15 pub fn get_session_endpoint(&self) -> crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder {
16 crate::operation::get_session_endpoint::builders::GetSessionEndpointFluentBuilder::new(self.handle.clone())
17 }
18}