aws_sdk_chatbot/client/
get_custom_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 [`GetCustomAction`](crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`GetCustomActionOutput`](crate::operation::get_custom_action::GetCustomActionOutput) with field(s):
8    ///   - [`custom_action(Option<CustomAction>)`](crate::operation::get_custom_action::GetCustomActionOutput::custom_action): <p>Returns the custom action.</p>
9    /// - On failure, responds with [`SdkError<GetCustomActionError>`](crate::operation::get_custom_action::GetCustomActionError)
10    pub fn get_custom_action(&self) -> crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder {
11        crate::operation::get_custom_action::builders::GetCustomActionFluentBuilder::new(self.handle.clone())
12    }
13}