ConfirmProductInstance
The ConfirmProductInstance
operation returns
true if the given product code is attached to the instance with the
given instance id. False is returned if the product code is not
attached to the instance.
The following table describes the request parameters for
ConfirmProductInstance
. Parameter names are case
sensitive.
Element Name | Definition | Required? | Type |
---|---|---|---|
productCode
|
The product code to confirm is attached to the instance. | Yes |
xsdstring
|
instanceId
|
The instance to confirm the product code is attached to. | Yes |
xsdstring
|
The following table describes the default response tags included
in ConfirmProductInstance
responses.
Element Name | Definition | Type |
---|---|---|
return
|
True if the product code is attached to the instance, false if it is not. |
xsd:boolean
|
ownerId
|
The instance owner's account id. Only present if the product code is attached to the instance. |
xsdstring
|
<ConfirmProductInstance xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <productCode>774F4FF8</productCode> <instanceId>i-10a64379</instanceId> </ConfirmProductInstance>
<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2007-01-03"> <return>true</return> <ownerId>254933287430</ownerId> </ConfirmProductInstanceResponse>