aws_sdk_chatbot/client/
get_custom_action.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetCustomAction`](crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`custom_action_arn(impl Into<String>)`](crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder::custom_action_arn) / [`set_custom_action_arn(Option<String>)`](crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder::set_custom_action_arn):<br>required: **true**<br><p>Returns the fully defined Amazon Resource Name (ARN) of the custom action.</p><br>
    /// - On success, responds with [`GetCustomActionOutput`](crate::operation::get_custom_action::GetCustomActionOutput) with field(s):
    ///   - [`custom_action(Option<CustomAction>)`](crate::operation::get_custom_action::GetCustomActionOutput::custom_action): <p>Returns the custom action.</p>
    /// - On failure, responds with [`SdkError<GetCustomActionError>`](crate::operation::get_custom_action::GetCustomActionError)
    pub fn get_custom_action(&self) -> crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder {
        crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder::new(self.handle.clone())
    }
}