IoT1ClickProjects / Client / list_projects

list_projects#

IoT1ClickProjects.Client.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
)
Parameters:
  • nextToken (string) – The token to retrieve the next set of results.

  • maxResults (integer) – The maximum number of results to return per request. If not set, a default value of 100 is used.

Return type:

dict

Returns:

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.

          • (string) –

            • (string) –

    • 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