ConfirmProductInstance
The ConfirmProductInstance
operation returns
true if the specified product code is attached to the specified instance.
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.
Name | Description | Required |
---|---|---|
|
The product code to confirm. Type: String |
Yes |
|
The instance for which to confirm the product code. Type: String |
Yes |
The following table describes the default response tags included
in ConfirmProductInstance
responses.
Name | Description |
---|---|
|
Type: xsd:boolean |
|
The instance owner's account ID. Only present if the product code is attached to the instance. Type: xsd:string |
https://ec2.amazonaws.com/ ?Action=ConfirmProductInstance &ProductCode=774F4FF8 &InstanceId=i-10a64379 &...auth parameters...
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2007-08-29"> <result>true</result> <ownerId>254933287430</ownerId> </ConfirmProductInstanceResponse>