aws_sdk_resiliencehub/client/update_app_version_app_component.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 [`UpdateAppVersionAppComponent`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_arn(impl Into<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::set_app_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p><br>
7 /// - [`id(impl Into<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::set_id):<br>required: **true**<br><p>Identifier of the Application Component.</p><br>
8 /// - [`name(impl Into<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::set_name):<br>required: **false**<br><p>Name of the Application Component.</p><br>
9 /// - [`r#type(impl Into<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::set_type):<br>required: **false**<br><p>Type of Application Component. For more information about the types of Application Component, see <a href="https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html">Grouping resources in an AppComponent</a>.</p><br>
10 /// - [`additional_info(impl Into<String>, Vec::<String>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::additional_info) / [`set_additional_info(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::set_additional_info):<br>required: **false**<br><p>Currently, there is no supported additional information for Application Components.</p><br>
11 /// - On success, responds with [`UpdateAppVersionAppComponentOutput`](crate::operation::update_app_version_app_component::UpdateAppVersionAppComponentOutput) with field(s):
12 /// - [`app_arn(String)`](crate::operation::update_app_version_app_component::UpdateAppVersionAppComponentOutput::app_arn): <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>
13 /// - [`app_version(String)`](crate::operation::update_app_version_app_component::UpdateAppVersionAppComponentOutput::app_version): <p>Resilience Hub application version.</p>
14 /// - [`app_component(Option<AppComponent>)`](crate::operation::update_app_version_app_component::UpdateAppVersionAppComponentOutput::app_component): <p>List of Application Components that belong to this resource.</p>
15 /// - On failure, responds with [`SdkError<UpdateAppVersionAppComponentError>`](crate::operation::update_app_version_app_component::UpdateAppVersionAppComponentError)
16 pub fn update_app_version_app_component(
17 &self,
18 ) -> crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder {
19 crate::operation::update_app_version_app_component::builders::UpdateAppVersionAppComponentFluentBuilder::new(self.handle.clone())
20 }
21}