aws_sdk_chatbot/client/update_custom_action.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateCustomAction`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`custom_action_arn(impl Into<String>)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::custom_action_arn) / [`set_custom_action_arn(Option<String>)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::set_custom_action_arn):<br>required: **true**<br><p>The fully defined Amazon Resource Name (ARN) of the custom action.</p><br>
/// - [`definition(CustomActionDefinition)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::definition) / [`set_definition(Option<CustomActionDefinition>)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::set_definition):<br>required: **true**<br><p>The definition of the command to run when invoked as an alias or as an action button.</p><br>
/// - [`alias_name(impl Into<String>)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::alias_name) / [`set_alias_name(Option<String>)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::set_alias_name):<br>required: **false**<br><p>The name used to invoke this action in the chat channel. For example, <code>@aws run my-alias</code>.</p><br>
/// - [`attachments(CustomActionAttachment)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::attachments) / [`set_attachments(Option<Vec::<CustomActionAttachment>>)`](crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::set_attachments):<br>required: **false**<br><p>Defines when this custom action button should be attached to a notification.</p><br>
/// - On success, responds with [`UpdateCustomActionOutput`](crate::operation::update_custom_action::UpdateCustomActionOutput) with field(s):
/// - [`custom_action_arn(String)`](crate::operation::update_custom_action::UpdateCustomActionOutput::custom_action_arn): <p>The fully defined ARN of the custom action.</p>
/// - On failure, responds with [`SdkError<UpdateCustomActionError>`](crate::operation::update_custom_action::UpdateCustomActionError)
pub fn update_custom_action(&self) -> crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder {
crate::operation::update_custom_action::builders::UpdateCustomActionFluentBuilder::new(self.handle.clone())
}
}