DataZone / Client / list_projects
list_projects#
- DataZone.Client.list_projects(**kwargs)#
Lists Amazon DataZone projects.
See also: AWS API Documentation
Request Syntax
response = client.list_projects( domainIdentifier='string', groupIdentifier='string', maxResults=123, name='string', nextToken='string', userIdentifier='string' )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The identifier of the Amazon DataZone domain.
groupIdentifier (string) – The identifier of a group.
maxResults (integer) – 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.name (string) –
nextToken (string) – 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.userIdentifier (string) – The identifier of the Amazon DataZone user.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'createdAt': datetime(2015, 1, 1), 'createdBy': 'string', 'description': 'string', 'domainId': 'string', 'id': 'string', 'name': 'string', 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
ListProjectsaction.(dict) –
The details of a Amazon DataZone project.
createdAt (datetime) –
The timestamp of when a project was created.
createdBy (string) –
The Amazon DataZone user who created the project.
description (string) –
The description of a project.
domainId (string) –
The identifier of a Amazon DataZone domain where the project exists.
id (string) –
The identifier of a project.
name (string) –
The name of a project.
updatedAt (datetime) –
The timestamp of when the project was updated.
nextToken (string) –
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.
Exceptions
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException