ConfirmProductInstance
Description
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 a user's instance is eligible for support.
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: productCode
, instanceId
productCode
The product code to confirm.
Type: xsd:string
Default: None
Ancestor: ConfirmProductInstance
Children: None
Yes
instanceId
The instance to confirm.
Type: xsd:string
Default: None
Ancestor: ConfirmProductInstance
Children: None
Yes
Response Elements
Name | Description |
---|---|
|
Type: ConfirmProductInstanceResponse Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Returns Type: xsd:boolean Ancestor: Children: None |
|
The instance owner's account ID. Only present if the product code is attached to the instance. Type: xsd:string Ancestor: Children: None |
Examples
Example Request
This example describes the confirms the product code is associated with the instance.
<ConfirmProductInstance xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <productCode>774F4FF8</productCode> <instanceId>i-10a64379</instanceId> </ConfirmProductInstance>
Example Response
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/"> <return>true</return> <ownerId>254933287430</ownerId> </ConfirmProductInstanceResponse>