list_repositories
async
¶
list_repositories(
*,
config_overrides: Optional[AsyncCodeCommitClientConfig] = None,
next_token: Optional[NextToken] = None,
sort_by: Optional[SortByEnum] = None,
order: Optional[OrderEnum] = None,
) -> ListRepositoriesOutput
Gets information about one or more repositories.
Parameters:
-
next_token(Optional[NextToken], default:None) –An enumeration token that allows the operation to batch the results of the operation. Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit, another page of 1,000 records is retrieved.
-
sort_by(Optional[SortByEnum], default:None) –The criteria used to sort the results of a list repositories operation.
-
order(Optional[OrderEnum], default:None) –The order in which to sort the results of a list repositories operation.
Raises:
-
InvalidContinuationTokenException–The specified continuation token is not valid.
-
InvalidOrderException–The specified sort order is not valid.
-
InvalidSortByException–The specified sort by value is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.