create_project
async
¶
create_project(
domain_identifier: DomainId,
name: ProjectName,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
description: Optional[Description] = None,
resource_tags: Optional[Tags] = None,
glossary_terms: Optional[GlossaryTerms] = None,
domain_unit_id: Optional[DomainUnitId] = None,
project_profile_id: Optional[ProjectProfileId] = None,
user_parameters: Optional[EnvironmentConfigurationUserParametersList] = None,
project_category: Optional[str] = None,
project_execution_role: Optional[RoleArn] = None,
membership_assignments: Optional[ProjectMembershipAssignments] = None,
) -> CreateProjectOutput
Creates an Amazon DataZone project.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which this project is created.
-
name(ProjectName) –The name of the Amazon DataZone project.
-
description(Optional[Description], default:None) –The description of the Amazon DataZone project.
-
resource_tags(Optional[Tags], default:None) –The resource tags of the project.
-
glossary_terms(Optional[GlossaryTerms], default:None) –The glossary terms that can be used in this Amazon DataZone project.
-
domain_unit_id(Optional[DomainUnitId], default:None) –The ID of the domain unit. This parameter is not required and if it is not specified, then the project is created at the root domain unit level.
-
project_profile_id(Optional[ProjectProfileId], default:None) –The ID of the project profile.
-
user_parameters(Optional[EnvironmentConfigurationUserParametersList], default:None) –The user parameters of the project.
-
project_category(Optional[str], default:None) –The category of the project. Set to 'ADMIN' designates this as an administrative project for the Amazon DataZone domain.
-
project_execution_role(Optional[RoleArn], default:None) –The default project IAM role that is used to access project resources and run computes such as Glue and Sagemaker.
-
membership_assignments(Optional[ProjectMembershipAssignments], default:None) –The members to be assigned to the project.
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.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 | |