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 |
---|---|---|
| The product code to confirm. Type: String Default: None | Yes |
| The instance to confirm. Type: String Default: None | Yes |
Response Elements
Name | Description |
---|---|
|
Type: |
Ancestor: None
Children: requestId
, return
, and ownerId
requestId
The ID of the request.
Type: xsd:string
Ancestor: ConfirmProductInstanceResponseType
Children: None
return
Returns
Type: xsd:boolean
Ancestor: ConfirmProductInstanceResponseType
Children: None
ownerId
The instance owner's account ID. Only present if the product code is attached to the instance.
Type: xsd:string
Ancestor: ConfirmProductInstanceResponseType
Children: None
Examples
Example Request
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
Example Response
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> <ownerId>254933287430</ownerId> </ConfirmProductInstanceResponse>