list_project_memberships
async
¶
list_project_memberships(
domain_identifier: DomainId,
project_identifier: ProjectId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
sort_by: Optional[SortFieldProject] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListProjectMembershipsOutput
Lists all members of the specified project.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which you want to list project memberships.
-
project_identifier(ProjectId) –The identifier of the project whose memberships you want to list.
-
sort_by(Optional[SortFieldProject], default:None) –The method by which you want to sort the project memberships.
-
sort_order(Optional[SortOrder], default:None) –The sort order of the project memberships.
-
next_token(Optional[PaginationToken], default:None) –When the number of memberships is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of memberships, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListProjectMembershipsto list the next set of memberships. -
max_results(Optional[MaxResults], default:None) –The maximum number of memberships to return in a single call to
ListProjectMemberships. When the number of memberships to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListProjectMembershipsto list the next set of memberships.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 | |