aws_sdk_applicationinsights/client/describe_workload.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 [`DescribeWorkload`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_group_name(impl Into<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::set_resource_group_name):<br>required: **true**<br><p>The name of the resource group.</p><br>
7 /// - [`component_name(impl Into<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::component_name) / [`set_component_name(Option<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::set_component_name):<br>required: **true**<br><p>The name of the component.</p><br>
8 /// - [`workload_id(impl Into<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::workload_id) / [`set_workload_id(Option<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::set_workload_id):<br>required: **true**<br><p>The ID of the workload.</p><br>
9 /// - [`account_id(impl Into<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::set_account_id):<br>required: **false**<br><p>The Amazon Web Services account ID for the workload owner.</p><br>
10 /// - On success, responds with [`DescribeWorkloadOutput`](crate::operation::describe_workload::DescribeWorkloadOutput) with field(s):
11 /// - [`workload_id(Option<String>)`](crate::operation::describe_workload::DescribeWorkloadOutput::workload_id): <p>The ID of the workload.</p>
12 /// - [`workload_remarks(Option<String>)`](crate::operation::describe_workload::DescribeWorkloadOutput::workload_remarks): <p>If logging is supported for the resource type, shows whether the component has configured logs to be monitored.</p>
13 /// - [`workload_configuration(Option<WorkloadConfiguration>)`](crate::operation::describe_workload::DescribeWorkloadOutput::workload_configuration): <p>The configuration settings of the workload. The value is the escaped JSON of the configuration.</p>
14 /// - On failure, responds with [`SdkError<DescribeWorkloadError>`](crate::operation::describe_workload::DescribeWorkloadError)
15 pub fn describe_workload(&self) -> crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder {
16 crate::operation::describe_workload::builders::DescribeWorkloadFluentBuilder::new(self.handle.clone())
17 }
18}