aws_sdk_sagemaker/client/create_monitoring_schedule.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 [`CreateMonitoringSchedule`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`monitoring_schedule_name(impl Into<String>)`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::monitoring_schedule_name) / [`set_monitoring_schedule_name(Option<String>)`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::set_monitoring_schedule_name):<br>required: **true**<br><p>The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.</p><br>
7 /// - [`monitoring_schedule_config(MonitoringScheduleConfig)`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::monitoring_schedule_config) / [`set_monitoring_schedule_config(Option<MonitoringScheduleConfig>)`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::set_monitoring_schedule_config):<br>required: **true**<br><p>The configuration object that specifies the monitoring schedule and defines the monitoring job.</p><br>
8 /// - [`tags(Tag)`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::set_tags):<br>required: **false**<br><p>(Optional) An array of key-value pairs. For more information, see <a href=" https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL">Using Cost Allocation Tags</a> in the <i>Amazon Web Services Billing and Cost Management User Guide</i>.</p><br>
9 /// - On success, responds with [`CreateMonitoringScheduleOutput`](crate::operation::create_monitoring_schedule::CreateMonitoringScheduleOutput) with field(s):
10 /// - [`monitoring_schedule_arn(Option<String>)`](crate::operation::create_monitoring_schedule::CreateMonitoringScheduleOutput::monitoring_schedule_arn): <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p>
11 /// - On failure, responds with [`SdkError<CreateMonitoringScheduleError>`](crate::operation::create_monitoring_schedule::CreateMonitoringScheduleError)
12 pub fn create_monitoring_schedule(&self) -> crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder {
13 crate::operation::create_monitoring_schedule::builders::CreateMonitoringScheduleFluentBuilder::new(self.handle.clone())
14 }
15}