aws-sdk-glue 1.149.0

AWS SDK for AWS Glue
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 [`GetDashboardUrl`](crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetDashboardUrlOutput`](crate::operation::get_dashboard_url::GetDashboardUrlOutput) with field(s):
    ///   - [`url(String)`](crate::operation::get_dashboard_url::GetDashboardUrlOutput::url): <p>The URL for the Spark monitoring dashboard.</p>
    /// - On failure, responds with [`SdkError<GetDashboardUrlError>`](crate::operation::get_dashboard_url::GetDashboardUrlError)
    pub fn get_dashboard_url(&self) -> crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder {
        crate::operation::get_dashboard_url::builders::GetDashboardUrlFluentBuilder::new(self.handle.clone())
    }
}