DataZone / Client / create_project_membership
create_project_membership#
- DataZone.Client.create_project_membership(**kwargs)#
Creates a project membership in Amazon DataZone.
See also: AWS API Documentation
Request Syntax
response = client.create_project_membership( designation='PROJECT_OWNER'|'PROJECT_CONTRIBUTOR'|'PROJECT_CATALOG_VIEWER'|'PROJECT_CATALOG_CONSUMER'|'PROJECT_CATALOG_STEWARD', domainIdentifier='string', member={ 'groupIdentifier': 'string', 'userIdentifier': 'string' }, projectIdentifier='string' )
- Parameters:
designation (string) –
[REQUIRED]
The designation of the project membership.
domainIdentifier (string) –
[REQUIRED]
The ID of the Amazon DataZone domain in which project membership is created.
member (dict) –
[REQUIRED]
The project member whose project membership was created.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
groupIdentifier
,userIdentifier
.groupIdentifier (string) –
The ID of the group of a project member.
userIdentifier (string) –
The user ID of a project member.
projectIdentifier (string) –
[REQUIRED]
The ID of the project for which this project membership was created.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DataZone.Client.exceptions.InternalServerException
DataZone.Client.exceptions.ResourceNotFoundException
DataZone.Client.exceptions.AccessDeniedException
DataZone.Client.exceptions.ThrottlingException
DataZone.Client.exceptions.ValidationException
DataZone.Client.exceptions.UnauthorizedException