aws_sdk_supportauthz/client/get_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 [`GetAction`](crate::operation::get_action::builders::GetActionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`action(impl Into<String>)`](crate::operation::get_action::builders::GetActionFluentBuilder::action) / [`set_action(Option<String>)`](crate::operation::get_action::builders::GetActionFluentBuilder::set_action):<br>required: **true**<br><p>The name of the support action to retrieve.</p><br>
7 /// - On success, responds with [`GetActionOutput`](crate::operation::get_action::GetActionOutput) with field(s):
8 /// - [`action(String)`](crate::operation::get_action::GetActionOutput::action): <p>The name of the support action.</p>
9 /// - [`service(String)`](crate::operation::get_action::GetActionOutput::service): <p>The AWS service associated with the support action.</p>
10 /// - [`description(String)`](crate::operation::get_action::GetActionOutput::description): <p>A description of what the support action does.</p>
11 /// - On failure, responds with [`SdkError<GetActionError>`](crate::operation::get_action::GetActionError)
12 pub fn get_action(&self) -> crate::operation::get_action::builders::GetActionFluentBuilder {
13 crate::operation::get_action::builders::GetActionFluentBuilder::new(self.handle.clone())
14 }
15}