|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
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 needs to verify whether another EC2 user's instance is eligible for support.
The product code.
The following elements are returned in a
The ID of the request.
true if the request succeeds. Otherwise, returns an error.
The instance owner's account ID. Only present if the product code is attached to the instance.
This example displays the product code that is associated with the instance.
https://ec2.amazonaws.com/?Action=ConfirmProductInstance &ProductCode=774F4FF8 &InstanceId=i-10a64379 &AUTHPARAMS
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> <ownerId>111122223333</ownerId> </ConfirmProductInstanceResponse>