create_software_update_job
(**kwargs)¶Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
See also: AWS API Documentation
Request Syntax
response = client.create_software_update_job(
AmznClientToken='string',
S3UrlSignerRole='string',
SoftwareToUpdate='core'|'ota_agent',
UpdateAgentLogLevel='NONE'|'TRACE'|'DEBUG'|'VERBOSE'|'INFO'|'WARN'|'ERROR'|'FATAL',
UpdateTargets=[
'string',
],
UpdateTargetsArchitecture='armv6l'|'armv7l'|'x86_64'|'aarch64',
UpdateTargetsOperatingSystem='ubuntu'|'raspbian'|'amazon_linux'|'openwrt'
)
[REQUIRED] The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.
dict
Response Syntax
{
'IotJobArn': 'string',
'IotJobId': 'string',
'PlatformSoftwareVersion': 'string'
}
Response Structure
Exceptions
Greengrass.Client.exceptions.BadRequestException
Greengrass.Client.exceptions.InternalServerErrorException