:doc:`ResilienceHub <../../resiliencehub>` / Client / remove_draft_app_version_resource_mappings

******************************************
remove_draft_app_version_resource_mappings
******************************************



.. py:method:: ResilienceHub.Client.remove_draft_app_version_resource_mappings(**kwargs)

  

  Removes resource mappings from a draft application version.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings>`_  


  **Request Syntax**
  ::

    response = client.remove_draft_app_version_resource_mappings(
        appArn='string',
        appRegistryAppNames=[
            'string',
        ],
        eksSourceNames=[
            'string',
        ],
        logicalStackNames=[
            'string',
        ],
        resourceGroupNames=[
            'string',
        ],
        resourceNames=[
            'string',
        ],
        terraformSourceNames=[
            'string',
        ]
    )
    
  :type appArn: string
  :param appArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app/ ``app-id``. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

    

  
  :type appRegistryAppNames: list
  :param appRegistryAppNames: 

    The names of the registered applications you want to remove from the resource mappings.

    

  
    - *(string) --* 

    

  :type eksSourceNames: list
  :param eksSourceNames: 

    The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.

     

    .. note::

      

      This parameter accepts values in "eks-cluster/namespace" format.

      

    

  
    - *(string) --* 

    

  :type logicalStackNames: list
  :param logicalStackNames: 

    The names of the CloudFormation stacks you want to remove from the resource mappings.

    

  
    - *(string) --* 

    

  :type resourceGroupNames: list
  :param resourceGroupNames: 

    The names of the resource groups you want to remove from the resource mappings.

    

  
    - *(string) --* 

    

  :type resourceNames: list
  :param resourceNames: 

    The names of the resources you want to remove from the resource mappings.

    

  
    - *(string) --* 

    

  :type terraformSourceNames: list
  :param terraformSourceNames: 

    The names of the Terraform sources you want to remove from the resource mappings.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'appArn': 'string',
          'appVersion': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **appArn** *(string) --* 

        Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app/ ``app-id``. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

        
      

      - **appVersion** *(string) --* 

        The version of the application.

        
  
  **Exceptions**
  
  *   :py:class:`ResilienceHub.Client.exceptions.InternalServerException`

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

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

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

  
  *   :py:class:`ResilienceHub.Client.exceptions.ValidationException`

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

  