Skip to content

/AWS1/CL_EC2=>CONFIRMPRODUCTINSTANCE()

About ConfirmProductInstance

Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner must verify whether another user's instance is eligible for support.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEID TYPE /AWS1/EC2INSTANCEID /AWS1/EC2INSTANCEID

The ID of the instance.

IV_PRODUCTCODE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The product code. This must be a product code that you own.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CONFPRODUCTINSTRS /AWS1/CL_EC2CONFPRODUCTINSTRS