aws-sdk-emrserverless 1.109.0

AWS SDK for EMR Serverless
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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:
    ///   - [`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>
    ///   - [`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):
    ///   - [`application_id(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::application_id): <p>The output contains the ID of the application.</p>
    ///   - [`session_id(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::session_id): <p>The output contains the ID of the session.</p>
    ///   - [`endpoint(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::endpoint): The endpoint URL for connecting to the session.
    ///   - [`auth_token(String)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token): Authentication token for accessing the session endpoint.
    ///   - [`auth_token_expires_at(DateTime)`](crate::operation::get_session_endpoint::GetSessionEndpointOutput::auth_token_expires_at): The expiration time of the authentication token.
    /// - 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())
    }
}