Verifies whether a Amazon DevPay product code is associated with an instance. This can only be executed by the owner of the AMI and is useful when an AMI owner wants to verify whether another EC2 user's instance is eligible for support.
| Name | Description | Required |
|---|---|---|
|
|
The product code to confirm. Type: String Default: None |
Yes |
|
|
The instance to confirm. Type: String Default: None |
Yes |
The elements in the following table come wrapped in a
ConfirmProductInstanceResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if the product code is attached to the instance. Otherwise, returns an error. Type: xsd:boolean |
|
|
The instance owner's account ID. Only present if the product code is attached to the instance. Type: xsd:string |
This example describes the confirms the product code is associated with the instance.
https://ec2.amazonaws.com/?Action=ConfirmProductInstance &ProductCode=774F4FF8 &InstanceId=i-10a64379 &AuthParams
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> <ownerId>254933287430</ownerId> </ConfirmProductInstanceResponse>