1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAppVersionAppComponent`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_arn(impl Into<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::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>
    ///   - [`id(impl Into<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::set_id):<br>required: **false**<br><p>Identifier of the Application Component.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::set_name):<br>required: **true**<br><p>Name of the Application Component.</p><br>
    ///   - [`r#type(impl Into<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::set_type):<br>required: **true**<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>
    ///   - [`additional_info(impl Into<String>, Vec::<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::additional_info) / [`set_additional_info(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::set_additional_info):<br>required: **false**<br><p>Currently, there is no supported additional information for Application Components.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::set_client_token):<br>required: **false**<br><p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.</p><br>
    /// - On success, responds with [`CreateAppVersionAppComponentOutput`](crate::operation::create_app_version_app_component::CreateAppVersionAppComponentOutput) with field(s):
    ///   - [`app_arn(String)`](crate::operation::create_app_version_app_component::CreateAppVersionAppComponentOutput::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>
    ///   - [`app_version(String)`](crate::operation::create_app_version_app_component::CreateAppVersionAppComponentOutput::app_version): <p>Resilience Hub application version.</p>
    ///   - [`app_component(Option<AppComponent>)`](crate::operation::create_app_version_app_component::CreateAppVersionAppComponentOutput::app_component): <p>List of Application Components that belong to this resource.</p>
    /// - On failure, responds with [`SdkError<CreateAppVersionAppComponentError>`](crate::operation::create_app_version_app_component::CreateAppVersionAppComponentError)
    pub fn create_app_version_app_component(
        &self,
    ) -> crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder {
        crate::operation::create_app_version_app_component::builders::CreateAppVersionAppComponentFluentBuilder::new(self.handle.clone())
    }
}