list_pull_time_update_exclusions
async
¶
list_pull_time_update_exclusions(
*,
config_overrides: Optional[AsyncECRClientConfig] = 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.
>>> await 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/async_ecr.py
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 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 | |