list_projects
¶
list_projects(
domain_identifier: DomainId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
user_identifier: Optional[str] = None,
group_identifier: Optional[str] = None,
name: Optional[ProjectName] = None,
project_category: Optional[str] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListProjectsOutput
Lists Amazon DataZone projects.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
user_identifier(Optional[str], default:None) –The identifier of the Amazon DataZone user.
-
group_identifier(Optional[str], default:None) –The identifier of a group.
-
name(Optional[ProjectName], default:None) –The name of the project.
-
project_category(Optional[str], default:None) –A parameter to filter projects by their category.
-
next_token(Optional[PaginationToken], default:None) –When the number of projects is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of projects, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListProjectsto list the next set of projects. -
max_results(Optional[MaxResults], default:None) –The maximum number of projects to return in a single call to
ListProjects. When the number of projects to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListProjectsto list the next set of projects.
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.
-
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
7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 | |