list_projects
async
¶
list_projects(
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
sort_by: Optional[ProjectSortByType] = None,
sort_order: Optional[SortOrderType] = None,
next_token: Optional[NonEmptyString] = None,
) -> ListProjectsOutput
Gets a list of build project names, with each build project name representing a single build project.
Parameters:
-
sort_by(Optional[ProjectSortByType], default:None) –The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME: List based on when each build project was created. -
LAST_MODIFIED_TIME: List based on when information about each build project was last changed. -
NAME: List based on each build project's name.
Use
sortOrderto specify in what order to list the build project names based on the preceding criteria. -
-
sort_order(Optional[SortOrderType], default:None) –The order in which to list build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list build project names. -
-
next_token(Optional[NonEmptyString], default:None) –During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
Raises:
-
InvalidInputException–The input value that was provided is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/async_code_build.py
2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 | |