:doc:`BackupGateway <../../backup-gateway>` / Client / put_hypervisor_property_mappings

********************************
put_hypervisor_property_mappings
********************************



.. py:method:: BackupGateway.Client.put_hypervisor_property_mappings(**kwargs)

  

  This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/PutHypervisorPropertyMappings>`_  


  **Request Syntax**
  ::

    response = client.put_hypervisor_property_mappings(
        HypervisorArn='string',
        IamRoleArn='string',
        VmwareToAwsTagMappings=[
            {
                'AwsTagKey': 'string',
                'AwsTagValue': 'string',
                'VmwareCategory': 'string',
                'VmwareTagName': 'string'
            },
        ]
    )
    
  :type HypervisorArn: string
  :param HypervisorArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the hypervisor.

    

  
  :type IamRoleArn: string
  :param IamRoleArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the IAM role.

    

  
  :type VmwareToAwsTagMappings: list
  :param VmwareToAwsTagMappings: **[REQUIRED]** 

    This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.

    

  
    - *(dict) --* 

      This displays the mapping of on-premises VMware tags to the corresponding Amazon Web Services tags.

      

    
      - **AwsTagKey** *(string) --* **[REQUIRED]** 

        The key part of the Amazon Web Services tag's key-value pair.

        

      
      - **AwsTagValue** *(string) --* **[REQUIRED]** 

        The value part of the Amazon Web Services tag's key-value pair.

        

      
      - **VmwareCategory** *(string) --* **[REQUIRED]** 

        The is the category of VMware.

        

      
      - **VmwareTagName** *(string) --* **[REQUIRED]** 

        This is the user-defined name of a VMware tag.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'HypervisorArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **HypervisorArn** *(string) --* 

        The Amazon Resource Name (ARN) of the hypervisor.

        
  
  **Exceptions**
  
  *   :py:class:`BackupGateway.Client.exceptions.ValidationException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ConflictException`

  
  *   :py:class:`BackupGateway.Client.exceptions.InternalServerException`

  
  *   :py:class:`BackupGateway.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`BackupGateway.Client.exceptions.ThrottlingException`

  