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

************************
delete_resiliency_policy
************************



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

  

  Deletes a resiliency policy. This is a destructive action that can't be undone.

  

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


  **Request Syntax**
  ::

    response = client.delete_resiliency_policy(
        clientToken='string',
        policyArn='string'
    )
    
  :type clientToken: string
  :param clientToken: 

    Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

    This field is autopopulated if not provided.

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

    Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:resiliency-policy/ ``policy-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.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **policyArn** *(string) --* 

        Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:resiliency-policy/ ``policy-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.

        
  
  **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`

  