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
2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 | |