aws_sdk_sagemakermetrics/client/batch_put_metrics.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 [`BatchPutMetrics`](crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`trial_component_name(impl Into<String>)`](crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder::trial_component_name) / [`set_trial_component_name(Option<String>)`](crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder::set_trial_component_name):<br>required: **true**<br><p>The name of the Trial Component to associate with the metrics. The Trial Component name must be entirely lowercase.</p><br>
7 /// - [`metric_data(RawMetricData)`](crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder::metric_data) / [`set_metric_data(Option<Vec::<RawMetricData>>)`](crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder::set_metric_data):<br>required: **true**<br><p>A list of raw metric values to put.</p><br>
8 /// - On success, responds with [`BatchPutMetricsOutput`](crate::operation::batch_put_metrics::BatchPutMetricsOutput) with field(s):
9 /// - [`errors(Option<Vec::<BatchPutMetricsError>>)`](crate::operation::batch_put_metrics::BatchPutMetricsOutput::errors): <p>Lists any errors that occur when inserting metric data.</p>
10 /// - On failure, responds with [`SdkError<BatchPutMetricsError>`](crate::operation::batch_put_metrics::BatchPutMetricsError)
11 pub fn batch_put_metrics(&self) -> crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder {
12 crate::operation::batch_put_metrics::builders::BatchPutMetricsFluentBuilder::new(self.handle.clone())
13 }
14}