aws_sdk_glue/client/get_dashboard_url.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 [`GetDashboardUrl`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_id(impl Into<String>)`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::set_resource_id):<br>required: **true**<br><p>The unique identifier of the resource for which to retrieve the dashboard URL.</p><br>
7 /// - [`resource_type(GlueResourceType)`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::resource_type) / [`set_resource_type(Option<GlueResourceType>)`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::set_resource_type):<br>required: **true**<br><p>The type of the resource. Valid values are <code>SESSION</code> and <code>JOB</code>.</p><br>
8 /// - [`request_origin(impl Into<String>)`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::request_origin) / [`set_request_origin(Option<String>)`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::set_request_origin):<br>required: **false**<br><p>The origin of the request.</p><br>
9 /// - On success, responds with [`GetDashboardUrlOutput`](crate::operation::get_dashboard_url::GetDashboardUrlOutput) with field(s):
10 /// - [`url(String)`](crate::operation::get_dashboard_url::GetDashboardUrlOutput::url): <p>The URL for the Spark monitoring dashboard.</p>
11 /// - On failure, responds with [`SdkError<GetDashboardUrlError>`](crate::operation::get_dashboard_url::GetDashboardUrlError)
12 pub fn get_dashboard_url(&self) -> crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder {
13 crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::new(self.handle.clone())
14 }
15}