aws_sdk_glue/client/get_usage_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetUsageProfile`](crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder::set_name):<br>required: **true**<br><p>The name of the usage profile to retrieve.</p><br>
/// - On success, responds with [`GetUsageProfileOutput`](crate::operation::get_usage_profile::GetUsageProfileOutput) with field(s):
/// - [`name(Option<String>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::name): <p>The name of the usage profile.</p>
/// - [`description(Option<String>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::description): <p>A description of the usage profile.</p>
/// - [`configuration(Option<ProfileConfiguration>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::configuration): <p>A <code>ProfileConfiguration</code> object specifying the job and session values for the profile.</p>
/// - [`created_on(Option<DateTime>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::created_on): <p>The date and time when the usage profile was created.</p>
/// - [`last_modified_on(Option<DateTime>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::last_modified_on): <p>The date and time when the usage profile was last modified.</p>
/// - On failure, responds with [`SdkError<GetUsageProfileError>`](crate::operation::get_usage_profile::GetUsageProfileError)
pub fn get_usage_profile(&self) -> crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder {
crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder::new(self.handle.clone())
}
}