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

***************************************
modify_ipam_prefix_list_resolver_target
***************************************



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

  

  Modifies an IPAM prefix list resolver target. You can update version tracking settings and the desired version of the target prefix list.

  

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


  **Request Syntax**
  ::

    response = client.modify_ipam_prefix_list_resolver_target(
        DryRun=True|False,
        IpamPrefixListResolverTargetId='string',
        DesiredVersion=123,
        TrackLatestVersion=True|False,
        ClientToken='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 modify.

    

  
  :type DesiredVersion: integer
  :param DesiredVersion: 

    The desired version of the prefix list to target. This allows you to pin the target to a specific version.

    

  
  :type TrackLatestVersion: boolean
  :param TrackLatestVersion: 

    Indicates whether the resolver target should automatically track the latest version of the prefix list. When enabled, the target will always synchronize with the most current version.

     

    Choose this for automatic updates when you want your prefix lists to stay current with infrastructure changes without manual intervention.

    

  
  :type ClientToken: string
  :param ClientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see `Ensuring idempotency <https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html>`__.

    This field is autopopulated if not provided.

  
  
  :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 modified IPAM prefix list resolver target.

        
        

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

              
        
      
    
  