1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RemoveDraftAppVersionResourceMappings`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_arn(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::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>
    ///   - [`resource_names(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::resource_names) / [`set_resource_names(Option<Vec::<String>>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::set_resource_names):<br>required: **false**<br><p>The names of the resources you want to remove from the resource mappings.</p><br>
    ///   - [`logical_stack_names(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::logical_stack_names) / [`set_logical_stack_names(Option<Vec::<String>>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::set_logical_stack_names):<br>required: **false**<br><p>The names of the CloudFormation stacks you want to remove from the resource mappings.</p><br>
    ///   - [`app_registry_app_names(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::app_registry_app_names) / [`set_app_registry_app_names(Option<Vec::<String>>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::set_app_registry_app_names):<br>required: **false**<br><p>The names of the registered applications you want to remove from the resource mappings.</p><br>
    ///   - [`resource_group_names(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::resource_group_names) / [`set_resource_group_names(Option<Vec::<String>>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::set_resource_group_names):<br>required: **false**<br><p>The names of the resource groups you want to remove from the resource mappings.</p><br>
    ///   - [`terraform_source_names(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::terraform_source_names) / [`set_terraform_source_names(Option<Vec::<String>>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::set_terraform_source_names):<br>required: **false**<br><p>The names of the Terraform sources you want to remove from the resource mappings.</p><br>
    ///   - [`eks_source_names(impl Into<String>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::eks_source_names) / [`set_eks_source_names(Option<Vec::<String>>)`](crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::set_eks_source_names):<br>required: **false**<br><p>The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.</p><note>  <p>This parameter accepts values in "eks-cluster/namespace" format.</p> </note><br>
    /// - On success, responds with [`RemoveDraftAppVersionResourceMappingsOutput`](crate::operation::remove_draft_app_version_resource_mappings::RemoveDraftAppVersionResourceMappingsOutput) with field(s):
    ///   - [`app_arn(Option<String>)`](crate::operation::remove_draft_app_version_resource_mappings::RemoveDraftAppVersionResourceMappingsOutput::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(Option<String>)`](crate::operation::remove_draft_app_version_resource_mappings::RemoveDraftAppVersionResourceMappingsOutput::app_version): <p>The version of the application.</p>
    /// - On failure, responds with [`SdkError<RemoveDraftAppVersionResourceMappingsError>`](crate::operation::remove_draft_app_version_resource_mappings::RemoveDraftAppVersionResourceMappingsError)
    pub fn remove_draft_app_version_resource_mappings(
        &self,
    ) -> crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder {
        crate::operation::remove_draft_app_version_resource_mappings::builders::RemoveDraftAppVersionResourceMappingsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}