ConfirmProductInstance

The ConfirmProductInstance operation returns true if the given product code is attached to the instance with the given instance id. The operation returns false if the product code is not attached to the instance.

The ConfirmProductInstance operation can only be executed by the owner of the AMI. This feature is useful when an AMI owner is providing support and wants to verify whether a user's instance is eligible.

The following table describes the request parameters for ConfirmProductInstance. Parameter names are case-sensitive.

Element NameDefinitionRequired?Type
ProductCode The product code to confirm is attached to the instance. Yesxsdstring
InstanceId The instance to confirm. Yesxsdstring

The following table describes the default response tags included in ConfirmProductInstance responses.

Element NameDefinitionType
result True if the product code is attached to the instance, false if it is not. xsd:boolean
ownerId The instance owner's account id. Only present if the product code is attached to the instance. xsdstring
https://ec2.amazonaws.com/
?Action=ConfirmProductInstance
&ProductCode=774F4FF8
&InstanceId=i-10a64379
&...auth parameters...
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2007-03-01">
  <result>true</result>
  <ownerId>254933287430</ownerId>
</ConfirmProductInstanceResponse>