aws_sdk_backupgateway/client/
put_hypervisor_property_mappings.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 [`PutHypervisorPropertyMappings`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hypervisor_arn(impl Into<String>)`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::hypervisor_arn) / [`set_hypervisor_arn(Option<String>)`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::set_hypervisor_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the hypervisor.</p><br>
7    ///   - [`vmware_to_aws_tag_mappings(VmwareToAwsTagMapping)`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::vmware_to_aws_tag_mappings) / [`set_vmware_to_aws_tag_mappings(Option<Vec::<VmwareToAwsTagMapping>>)`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::set_vmware_to_aws_tag_mappings):<br>required: **true**<br><p>This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.</p><br>
8    ///   - [`iam_role_arn(impl Into<String>)`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::iam_role_arn) / [`set_iam_role_arn(Option<String>)`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::set_iam_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role.</p><br>
9    /// - On success, responds with [`PutHypervisorPropertyMappingsOutput`](crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsOutput) with field(s):
10    ///   - [`hypervisor_arn(Option<String>)`](crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsOutput::hypervisor_arn): <p>The Amazon Resource Name (ARN) of the hypervisor.</p>
11    /// - On failure, responds with [`SdkError<PutHypervisorPropertyMappingsError>`](crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsError)
12    pub fn put_hypervisor_property_mappings(
13        &self,
14    ) -> crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder {
15        crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::new(self.handle.clone())
16    }
17}