aws_sdk_dataexchange/client/
get_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 [`GetEventAction`](crate::operation::get_event_action::builders::GetEventActionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`event_action_id(impl Into<String>)`](crate::operation::get_event_action::builders::GetEventActionFluentBuilder::event_action_id) / [`set_event_action_id(Option<String>)`](crate::operation::get_event_action::builders::GetEventActionFluentBuilder::set_event_action_id):<br>required: **true**<br><p>The unique identifier for the event action.</p><br>
7    /// - On success, responds with [`GetEventActionOutput`](crate::operation::get_event_action::GetEventActionOutput) with field(s):
8    ///   - [`action(Option<Action>)`](crate::operation::get_event_action::GetEventActionOutput::action): <p>What occurs after a certain event.</p>
9    ///   - [`arn(Option<String>)`](crate::operation::get_event_action::GetEventActionOutput::arn): <p>The ARN for the event action.</p>
10    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_event_action::GetEventActionOutput::created_at): <p>The date and time that the event action was created, in ISO 8601 format.</p>
11    ///   - [`event(Option<Event>)`](crate::operation::get_event_action::GetEventActionOutput::event): <p>What occurs to start an action.</p>
12    ///   - [`id(Option<String>)`](crate::operation::get_event_action::GetEventActionOutput::id): <p>The unique identifier for the event action.</p>
13    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_event_action::GetEventActionOutput::tags): <p>The tags for the event action.</p>
14    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_event_action::GetEventActionOutput::updated_at): <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
15    /// - On failure, responds with [`SdkError<GetEventActionError>`](crate::operation::get_event_action::GetEventActionError)
16    pub fn get_event_action(&self) -> crate::operation::get_event_action::builders::GetEventActionFluentBuilder {
17        crate::operation::get_event_action::builders::GetEventActionFluentBuilder::new(self.handle.clone())
18    }
19}