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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetResourceDashboard`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::set_application_id):<br>required: **true**<br><p>The ID of the application that the resource belongs to.</p><br>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::set_resource_id):<br>required: **true**<br><p>The ID of the resource.</p><br>
    ///   - [`resource_type(ResourceType)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::set_resource_type):<br>required: **true**<br><p>The type of resource to access the dashboard for. Currently, only <code>Session</code> is supported.</p><br>
    /// - On success, responds with [`GetResourceDashboardOutput`](crate::operation::get_resource_dashboard::GetResourceDashboardOutput) with field(s):
    ///   - [`url(Option<String>)`](crate::operation::get_resource_dashboard::GetResourceDashboardOutput::url): <p>A URL to the resource dashboard. For an active resource, this URL opens the live application UI. For a terminated resource, this URL opens the persistent application UI. This value is not included in the response if the URL is not available.</p>
    /// - On failure, responds with [`SdkError<GetResourceDashboardError>`](crate::operation::get_resource_dashboard::GetResourceDashboardError)
    pub fn get_resource_dashboard(&self) -> crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder {
        crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::new(self.handle.clone())
    }
}