| Did this page help you? Yes No Tell us about it... |
Verifies whether an Amazon DevPay product code is associated with an instance. This can only be executed by the owner of the product code and is useful when a product code 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 are 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/2011-12-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> <ownerId>254933287430</ownerId> </ConfirmProductInstanceResponse>