aws_sdk_backupgateway/client/
put_hypervisor_property_mappings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutHypervisorPropertyMappings`](crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`PutHypervisorPropertyMappingsOutput`](crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsOutput) with field(s):
    ///   - [`hypervisor_arn(Option<String>)`](crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsOutput::hypervisor_arn): <p>The Amazon Resource Name (ARN) of the hypervisor.</p>
    /// - On failure, responds with [`SdkError<PutHypervisorPropertyMappingsError>`](crate::operation::put_hypervisor_property_mappings::PutHypervisorPropertyMappingsError)
    pub fn put_hypervisor_property_mappings(
        &self,
    ) -> crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder {
        crate::operation::put_hypervisor_property_mappings::builders::PutHypervisorPropertyMappingsFluentBuilder::new(self.handle.clone())
    }
}