ECR / Client / register_pull_time_update_exclusion

register_pull_time_update_exclusion

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

Request Syntax

response = client.register_pull_time_update_exclusion(
    principalArn='string'
)
Parameters:

principalArn (string) –

[REQUIRED]

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

Return type:

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

  • ECR.Client.exceptions.InvalidParameterException

  • ECR.Client.exceptions.ExclusionAlreadyExistsException

  • ECR.Client.exceptions.LimitExceededException

  • ECR.Client.exceptions.ValidationException

  • ECR.Client.exceptions.ServerException