IoT / Client / list_packages
list_packages#
- IoT.Client.list_packages(**kwargs)#
- Lists the software packages associated to the account. - Requires permission to access the ListPackages action. - See also: AWS API Documentation - Request Syntax- response = client.list_packages( maxResults=123, nextToken='string' ) - Parameters:
- maxResults (integer) – The maximum number of results returned at one time. 
- nextToken (string) – The token for the next set of results. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'packageSummaries': [ { 'packageName': 'string', 'defaultVersionName': 'string', 'creationDate': datetime(2015, 1, 1), 'lastModifiedDate': datetime(2015, 1, 1) }, ], 'nextToken': 'string' } - Response Structure- (dict) – - packageSummaries (list) – - The software package summary. - (dict) – - A summary of information about a software package. - packageName (string) – - The name for the target software package. 
- defaultVersionName (string) – - The name of the default package version. 
- creationDate (datetime) – - The date that the package was created. 
- lastModifiedDate (datetime) – - The date that the package was last updated. 
 
 
- nextToken (string) – - The token for the next set of results. 
 
 
 - Exceptions- IoT.Client.exceptions.ThrottlingException
- IoT.Client.exceptions.InternalServerException
- IoT.Client.exceptions.ValidationException