aws_sdk_dataexchange/client/
create_event_action.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateEventAction`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`action(Action)`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::action) / [`set_action(Option<Action>)`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::set_action):<br>required: **true**<br><p>What occurs after a certain event.</p><br>
    ///   - [`event(Event)`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::event) / [`set_event(Option<Event>)`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::set_event):<br>required: **true**<br><p>What occurs to start an action.</p><br>
    /// - On success, responds with [`CreateEventActionOutput`](crate::operation::create_event_action::CreateEventActionOutput) with field(s):
    ///   - [`action(Option<Action>)`](crate::operation::create_event_action::CreateEventActionOutput::action): <p>What occurs after a certain event.</p>
    ///   - [`arn(Option<String>)`](crate::operation::create_event_action::CreateEventActionOutput::arn): <p>The ARN for the event action.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_event_action::CreateEventActionOutput::created_at): <p>The date and time that the event action was created, in ISO 8601 format.</p>
    ///   - [`event(Option<Event>)`](crate::operation::create_event_action::CreateEventActionOutput::event): <p>What occurs to start an action.</p>
    ///   - [`id(Option<String>)`](crate::operation::create_event_action::CreateEventActionOutput::id): <p>The unique identifier for the event action.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::create_event_action::CreateEventActionOutput::updated_at): <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
    /// - On failure, responds with [`SdkError<CreateEventActionError>`](crate::operation::create_event_action::CreateEventActionError)
    pub fn create_event_action(&self) -> crate::operation::create_event_action::builders::CreateEventActionFluentBuilder {
        crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::new(self.handle.clone())
    }
}