IoT / Client / update_package
update_package#
- IoT.Client.update_package(**kwargs)#
- Updates the supported fields for a specific software package. - Requires permission to access the UpdatePackage and GetIndexingConfiguration actions. - See also: AWS API Documentation - Request Syntax- response = client.update_package( packageName='string', description='string', defaultVersionName='string', unsetDefaultVersion=True|False, clientToken='string' ) - Parameters:
- packageName (string) – - [REQUIRED] - The name of the target software package. 
- description (string) – The package description. 
- defaultVersionName (string) – - The name of the default package version. - Note: You cannot name a - defaultVersionand set- unsetDefaultVersionequal to- trueat the same time.
- unsetDefaultVersion (boolean) – - Indicates whether you want to remove the named default package version from the software package. Set as - trueto remove the default package version.- Note: You cannot name a - defaultVersionand set- unsetDefaultVersionequal to- trueat the same time.
- clientToken (string) – - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required. - This field is autopopulated if not provided. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- IoT.Client.exceptions.ThrottlingException
- IoT.Client.exceptions.ConflictException
- IoT.Client.exceptions.InternalServerException
- IoT.Client.exceptions.ValidationException
- IoT.Client.exceptions.ResourceNotFoundException