aws_sdk_glue/client/get_usage_profile.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 [`GetUsageProfile`](crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetUsageProfileOutput`](crate::operation::get_usage_profile::GetUsageProfileOutput) with field(s):
8 /// - [`name(Option<String>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::name): <p>The name of the usage profile.</p>
9 /// - [`description(Option<String>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::description): <p>A description of the usage profile.</p>
10 /// - [`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>
11 /// - [`created_on(Option<DateTime>)`](crate::operation::get_usage_profile::GetUsageProfileOutput::created_on): <p>The date and time when the usage profile was created.</p>
12 /// - [`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>
13 /// - On failure, responds with [`SdkError<GetUsageProfileError>`](crate::operation::get_usage_profile::GetUsageProfileError)
14 pub fn get_usage_profile(&self) -> crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder {
15 crate::operation::get_usage_profile::builders::GetUsageProfileFluentBuilder::new(self.handle.clone())
16 }
17}