list_projects
(**kwargs)¶Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
See also: AWS API Documentation
Request Syntax
response = client.list_projects(
nextToken='string',
maxResults=123
)
dict
Response Syntax
{
'projects': [
{
'arn': 'string',
'projectName': 'string',
'createdDate': datetime(2015, 1, 1),
'updatedDate': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
projects (list) --
An object containing the list of projects.
(dict) --
An object providing summary information for a particular project for an associated AWS account and region.
arn (string) --
The ARN of the project.
projectName (string) --
The name of the project being summarized.
createdDate (datetime) --
The date when the project was originally created, in UNIX epoch time format.
updatedDate (datetime) --
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate
and updatedDate
are the same.
tags (dict) --
The tags (metadata key/value pairs) associated with the project.
nextToken (string) --
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
Exceptions
IoT1ClickProjects.Client.exceptions.InternalFailureException
IoT1ClickProjects.Client.exceptions.InvalidRequestException