aws_sdk_customerprofiles/client/
get_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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetEventTrigger`](crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`event_trigger_name(impl Into<String>)`](crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder::event_trigger_name) / [`set_event_trigger_name(Option<String>)`](crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder::set_event_trigger_name):<br>required: **true**<br><p>The unique name of the event trigger.</p><br>
    /// - On success, responds with [`GetEventTriggerOutput`](crate::operation::get_event_trigger::GetEventTriggerOutput) with field(s):
    ///   - [`event_trigger_name(Option<String>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::event_trigger_name): <p>The unique name of the event trigger.</p>
    ///   - [`object_type_name(Option<String>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::object_type_name): <p>The unique name of the object type.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::description): <p>The description of the event trigger.</p>
    ///   - [`event_trigger_conditions(Option<Vec::<EventTriggerCondition>>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::event_trigger_conditions): <p>A list of conditions that determine when an event should trigger the destination.</p>
    ///   - [`segment_filter(Option<String>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::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::get_event_trigger::GetEventTriggerOutput::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::get_event_trigger::GetEventTriggerOutput::created_at): <p>The timestamp of when the event trigger was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::last_updated_at): <p>The timestamp of when the event trigger was most recently updated.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_event_trigger::GetEventTriggerOutput::tags): <p>An array of key-value pairs to apply to this resource.</p>
    /// - On failure, responds with [`SdkError<GetEventTriggerError>`](crate::operation::get_event_trigger::GetEventTriggerError)
    pub fn get_event_trigger(&self) -> crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder {
        crate::operation::get_event_trigger::builders::GetEventTriggerFluentBuilder::new(self.handle.clone())
    }
}