aws_sdk_athena/client/
get_resource_dashboard.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 [`GetResourceDashboard`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_arn(impl Into<String>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The The Amazon Resource Name (ARN) for a session.</p><br>
7    /// - On success, responds with [`GetResourceDashboardOutput`](crate::operation::get_resource_dashboard::GetResourceDashboardOutput) with field(s):
8    ///   - [`url(String)`](crate::operation::get_resource_dashboard::GetResourceDashboardOutput::url): <p>The Live UI/Persistence UI url for a session.</p>
9    /// - On failure, responds with [`SdkError<GetResourceDashboardError>`](crate::operation::get_resource_dashboard::GetResourceDashboardError)
10    pub fn get_resource_dashboard(&self) -> crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder {
11        crate::operation::get_resource_dashboard::builders::GetResourceDashboardFluentBuilder::new(self.handle.clone())
12    }
13}