Skip to content

/AWS1/CL_IOT=>UPDATEPACKAGE()

About UpdatePackage

Updates the supported fields for a specific software package.

Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.

Method Signature

IMPORTING

Required arguments:

IV_PACKAGENAME TYPE /AWS1/IOTPACKAGENAME /AWS1/IOTPACKAGENAME

The name of the target software package.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/IOTRESOURCEDESCRIPTION /AWS1/IOTRESOURCEDESCRIPTION

The package description.

IV_DEFAULTVERSIONNAME TYPE /AWS1/IOTVERSIONNAME /AWS1/IOTVERSIONNAME

The name of the default package version.

Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

IV_UNSETDEFAULTVERSION TYPE /AWS1/IOTUNSETDEFAULTVERSION /AWS1/IOTUNSETDEFAULTVERSION

Indicates whether you want to remove the named default package version from the software package. Set as true to remove the default package version.

Note: You cannot name a defaultVersion and set unsetDefaultVersion equal to true at the same time.

IV_CLIENTTOKEN TYPE /AWS1/IOTCLIENTTOKEN /AWS1/IOTCLIENTTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTUPDATEPACKAGERSP /AWS1/CL_IOTUPDATEPACKAGERSP