:doc:`EC2 <../../ec2>` / Client / delete_ipam_prefix_list_resolver_target

***************************************
delete_ipam_prefix_list_resolver_target
***************************************



.. py:method:: EC2.Client.delete_ipam_prefix_list_resolver_target(**kwargs)

  

  Deletes an IPAM prefix list resolver target. This removes the association between the resolver and the managed prefix list, stopping automatic CIDR synchronization.

   

  For more information about IPAM prefix list resolver, see `Automate prefix list updates with IPAM <https://docs.aws.amazon.com/vpc/latest/ipam/automate-prefix-list-updates.html>`__ in the *Amazon VPC IPAM User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamPrefixListResolverTarget>`_  


  **Request Syntax**
  ::

    response = client.delete_ipam_prefix_list_resolver_target(
        DryRun=True|False,
        IpamPrefixListResolverTargetId='string'
    )
    
  :type DryRun: boolean
  :param DryRun: 

    A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

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

    The ID of the IPAM prefix list resolver target to delete.

    

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

    
    ::

      {
          'IpamPrefixListResolverTarget': {
              'IpamPrefixListResolverTargetId': 'string',
              'IpamPrefixListResolverTargetArn': 'string',
              'IpamPrefixListResolverId': 'string',
              'OwnerId': 'string',
              'PrefixListId': 'string',
              'PrefixListRegion': 'string',
              'DesiredVersion': 123,
              'LastSyncedVersion': 123,
              'TrackLatestVersion': True|False,
              'StateMessage': 'string',
              'State': 'create-in-progress'|'create-complete'|'create-failed'|'modify-in-progress'|'modify-complete'|'modify-failed'|'sync-in-progress'|'sync-complete'|'sync-failed'|'delete-in-progress'|'delete-complete'|'delete-failed'|'isolate-in-progress'|'isolate-complete'|'restore-in-progress',
              'Tags': [
                  {
                      'Key': 'string',
                      'Value': 'string'
                  },
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **IpamPrefixListResolverTarget** *(dict) --* 

        Information about the IPAM prefix list resolver target that was deleted.

        
        

        - **IpamPrefixListResolverTargetId** *(string) --* 

          The ID of the IPAM prefix list resolver target.

          
        

        - **IpamPrefixListResolverTargetArn** *(string) --* 

          The Amazon Resource Name (ARN) of the IPAM prefix list resolver target.

          
        

        - **IpamPrefixListResolverId** *(string) --* 

          The ID of the IPAM prefix list resolver associated with this target.

          
        

        - **OwnerId** *(string) --* 

          The ID of the Amazon Web Services account that owns the IPAM prefix list resolver target.

          
        

        - **PrefixListId** *(string) --* 

          The ID of the managed prefix list associated with this target.

          
        

        - **PrefixListRegion** *(string) --* 

          The Amazon Web Services Region where the prefix list associated with this target is located.

          
        

        - **DesiredVersion** *(integer) --* 

          The desired version of the prefix list that this target should synchronize with.

          
        

        - **LastSyncedVersion** *(integer) --* 

          The version of the prefix list that was last successfully synchronized by this target.

          
        

        - **TrackLatestVersion** *(boolean) --* 

          Indicates whether this target automatically tracks the latest version of the prefix list.

          
        

        - **StateMessage** *(string) --* 

          A message describing the current state of the IPAM prefix list resolver target, including any error information.

          
        

        - **State** *(string) --* 

          The current state of the IPAM prefix list resolver target. Valid values include ``create-in-progress``, ``create-complete``, ``create-failed``, ``modify-in-progress``, ``modify-complete``, ``modify-failed``, ``delete-in-progress``, ``delete-complete``, and ``delete-failed``.

          
        

        - **Tags** *(list) --* 

          The tags assigned to the IPAM prefix list resolver target.

          
          

          - *(dict) --* 

            Describes a tag.

            
            

            - **Key** *(string) --* 

              The key of the tag.

               

              Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with ``aws:``.

              
            

            - **Value** *(string) --* 

              The value of the tag.

               

              Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

              
        
      
    
  