create_project_membership
async
¶
create_project_membership(
domain_identifier: DomainId,
project_identifier: ProjectId,
member: Member,
designation: UserDesignation,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
user_created_designation_id: Optional[DesignationId] = None,
) -> CreateProjectMembershipOutput
Creates a project membership in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which project membership is created.
-
project_identifier(ProjectId) –The ID of the project for which this project membership was created.
-
member(Member) –The project member whose project membership was created.
-
designation(UserDesignation) –The designation of the project membership.
-
user_created_designation_id(Optional[DesignationId], default:None) –The ID of the user-created designation to assign to the project member. Required when
designationisUSER_CREATED_DESIGNATION; must not be provided otherwise.
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
2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 | |