list_pull_time_update_exclusions
¶
list_pull_time_update_exclusions(
*,
config_overrides: Optional[ECRClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListPullTimeUpdateExclusionsResponse
Lists the IAM principals that are excluded from having their image pull times recorded.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of pull time update exclusion results returned by
ListPullTimeUpdateExclusionsin paginated output. When this parameter is used,ListPullTimeUpdateExclusionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListPullTimeUpdateExclusionsrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenListPullTimeUpdateExclusionsreturns up to 100 results and anextTokenvalue, if applicable. -
next_token(Optional[NextToken], default:None) –The
nextTokenvalue returned from a previous paginatedListPullTimeUpdateExclusionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
Raises:
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
LimitExceededException–The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR service quotas in the Amazon Elastic Container Registry User Guide.
-
ServerException–These errors are usually caused by a server-side issue.
-
ValidationException–There was an exception validating this request.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To list all pull time update exclusions This example lists all IAM principals that are excluded from having their image pull timestamps recorded in the registry.
>>> client.list_pull_time_update_exclusions()
To list pull time update exclusions with pagination
This example lists pull time update exclusions with pagination, requesting a maximum of 2 results per page.
Source code in docs_src/capo_ecr/_services/ecr.py
2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 | |