list_project_memberships
¶
list_project_memberships(
domain_identifier: DomainId,
project_identifier: ProjectId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 | |