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.
This method is used in conjunction with AWS DevPay, which is not otherwise supported by this SDK.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The product code to confirm. |
|
|
Required |
The ID of the instance to confirm. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Related Methods
Source
Method defined in services/ec2.class.php | Toggle source view (8 lines) | View on GitHub