:doc:`ECR <../../ecr>` / Client / register_pull_time_update_exclusion

***********************************
register_pull_time_update_exclusion
***********************************



.. py:method:: ECR.Client.register_pull_time_update_exclusion(**kwargs)

  

  Adds an IAM principal to the pull time update exclusion list for a registry. Amazon ECR will not record the pull time if an excluded principal pulls an image.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegisterPullTimeUpdateExclusion>`_  


  **Request Syntax**
  ::

    response = client.register_pull_time_update_exclusion(
        principalArn='string'
    )
    
  :type principalArn: string
  :param principalArn: **[REQUIRED]** 

    The ARN of the IAM principal to exclude from having image pull times recorded.

    

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

    
    ::

      {
          'principalArn': 'string',
          'createdAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **principalArn** *(string) --* 

        The ARN of the IAM principal that was added to the pull time update exclusion list.

        
      

      - **createdAt** *(datetime) --* 

        The date and time, expressed in standard JavaScript date format, when the exclusion was created.

        
  
  **Exceptions**
  
  *   :py:class:`ECR.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`ECR.Client.exceptions.ExclusionAlreadyExistsException`

  
  *   :py:class:`ECR.Client.exceptions.LimitExceededException`

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

  
  *   :py:class:`ECR.Client.exceptions.ServerException`

  