aws_sdk_customerprofiles/client/
update_event_trigger.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEventTrigger`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`event_trigger_name(impl Into<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::event_trigger_name) / [`set_event_trigger_name(Option<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_event_trigger_name):<br>required: **true**<br><p>The unique name of the event trigger.</p><br>
    ///   - [`object_type_name(impl Into<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::object_type_name) / [`set_object_type_name(Option<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_object_type_name):<br>required: **false**<br><p>The unique name of the object type.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_description):<br>required: **false**<br><p>The description of the event trigger.</p><br>
    ///   - [`event_trigger_conditions(EventTriggerCondition)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::event_trigger_conditions) / [`set_event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_event_trigger_conditions):<br>required: **false**<br><p>A list of conditions that determine when an event should trigger the destination.</p><br>
    ///   - [`segment_filter(impl Into<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::segment_filter) / [`set_segment_filter(Option<String>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_segment_filter):<br>required: **false**<br><p>The destination is triggered only for profiles that meet the criteria of a segment definition.</p><br>
    ///   - [`event_trigger_limits(EventTriggerLimits)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::event_trigger_limits) / [`set_event_trigger_limits(Option<EventTriggerLimits>)`](crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::set_event_trigger_limits):<br>required: **false**<br><p>Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.</p><br>
    /// - On success, responds with [`UpdateEventTriggerOutput`](crate::operation::update_event_trigger::UpdateEventTriggerOutput) with field(s):
    ///   - [`event_trigger_name(Option<String>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::event_trigger_name): <p>The unique name of the event trigger.</p>
    ///   - [`object_type_name(Option<String>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::object_type_name): <p>The unique name of the object type.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::description): <p>The description of the event trigger.</p>
    ///   - [`event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::event_trigger_conditions): <p>A list of conditions that determine when an event should trigger the destination.</p>
    ///   - [`segment_filter(Option<String>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::segment_filter): <p>The destination is triggered only for profiles that meet the criteria of a segment definition.</p>
    ///   - [`event_trigger_limits(Option<EventTriggerLimits>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::event_trigger_limits): <p>Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::created_at): <p>The timestamp of when the event trigger was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::last_updated_at): <p>The timestamp of when the event trigger was most recently updated.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_event_trigger::UpdateEventTriggerOutput::tags): <p>An array of key-value pairs to apply to this resource.</p>
    /// - On failure, responds with [`SdkError<UpdateEventTriggerError>`](crate::operation::update_event_trigger::UpdateEventTriggerError)
    pub fn update_event_trigger(&self) -> crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder {
        crate::operation::update_event_trigger::builders::UpdateEventTriggerFluentBuilder::new(self.handle.clone())
    }
}