aws_sdk_frauddetector/client/update_event_label.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 [`UpdateEventLabel`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`event_id(impl Into<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::event_id) / [`set_event_id(Option<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::set_event_id):<br>required: **true**<br><p>The ID of the event associated with the label to update.</p><br>
7 /// - [`event_type_name(impl Into<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::event_type_name) / [`set_event_type_name(Option<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::set_event_type_name):<br>required: **true**<br><p>The event type of the event associated with the label to update.</p><br>
8 /// - [`assigned_label(impl Into<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::assigned_label) / [`set_assigned_label(Option<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::set_assigned_label):<br>required: **true**<br><p>The new label to assign to the event.</p><br>
9 /// - [`label_timestamp(impl Into<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::label_timestamp) / [`set_label_timestamp(Option<String>)`](crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::set_label_timestamp):<br>required: **true**<br><p>The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.</p><br>
10 /// - On success, responds with [`UpdateEventLabelOutput`](crate::operation::update_event_label::UpdateEventLabelOutput)
11 /// - On failure, responds with [`SdkError<UpdateEventLabelError>`](crate::operation::update_event_label::UpdateEventLabelError)
12 pub fn update_event_label(&self) -> crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder {
13 crate::operation::update_event_label::builders::UpdateEventLabelFluentBuilder::new(self.handle.clone())
14 }
15}