aws_sdk_dataexchange/client/
create_event_action.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 [`CreateEventAction`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::set_tags):<br>required: **false**<br><p>Key-value pairs that you can associate with the event action.</p><br>
9    /// - On success, responds with [`CreateEventActionOutput`](crate::operation::create_event_action::CreateEventActionOutput) with field(s):
10    ///   - [`action(Option<Action>)`](crate::operation::create_event_action::CreateEventActionOutput::action): <p>What occurs after a certain event.</p>
11    ///   - [`arn(Option<String>)`](crate::operation::create_event_action::CreateEventActionOutput::arn): <p>The ARN for the event action.</p>
12    ///   - [`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>
13    ///   - [`event(Option<Event>)`](crate::operation::create_event_action::CreateEventActionOutput::event): <p>What occurs to start an action.</p>
14    ///   - [`id(Option<String>)`](crate::operation::create_event_action::CreateEventActionOutput::id): <p>The unique identifier for the event action.</p>
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_event_action::CreateEventActionOutput::tags): <p>The tags for the event action.</p>
16    ///   - [`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>
17    /// - On failure, responds with [`SdkError<CreateEventActionError>`](crate::operation::create_event_action::CreateEventActionError)
18    pub fn create_event_action(&self) -> crate::operation::create_event_action::builders::CreateEventActionFluentBuilder {
19        crate::operation::create_event_action::builders::CreateEventActionFluentBuilder::new(self.handle.clone())
20    }
21}