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
2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 | |