list_repositories_in_domain
async
¶
list_repositories_in_domain(
domain: DomainName,
*,
config_overrides: Optional[AsynccodeartifactClientConfig] = None,
domain_owner: Optional[AccountId] = None,
administrator_account: Optional[AccountId] = None,
repository_prefix: Optional[RepositoryName] = None,
max_results: Optional[ListRepositoriesInDomainMaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListRepositoriesInDomainResult
Returns a list of RepositorySummary objects. Each RepositorySummary contains information about a repository in the specified domain and that matches the input parameters.
Parameters:
-
domain(DomainName) –The name of the domain that contains the returned list of repositories.
-
domain_owner(Optional[AccountId], default:None) –The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
-
administrator_account(Optional[AccountId], default:None) –Filter the list of repositories to only include those that are managed by the Amazon Web Services account ID.
-
repository_prefix(Optional[RepositoryName], default:None) –A prefix used to filter returned repositories. Only repositories with names that start with
repositoryPrefixare returned. -
max_results(Optional[ListRepositoriesInDomainMaxResults], default:None) –The maximum number of results to return per page.
-
next_token(Optional[PaginationToken], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Raises:
-
AccessDeniedException–The operation did not succeed because of an unauthorized access attempt.
-
InternalServerException–The operation did not succeed because of an error that occurred inside CodeArtifact.
-
ResourceNotFoundException–The operation did not succeed because the resource requested is not found in the service.
-
ThrottlingException–The operation did not succeed because too many requests are sent to the service.
-
ValidationException–The operation did not succeed because a parameter in the request was sent with an invalid value.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codeartifact/_services/async_codeartifact.py
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 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 | |