confirmProductInstance

Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner must verify whether another user's instance is eligible for support.

Samples


fun main() { 
   //sampleStart 
   // This example determines whether the specified product code is associated with the specified
// instance.
val resp = ec2Client.confirmProductInstance {
    productCode = "774F4FF8"
    instanceId = "i-1234567890abcdef0"
} 
   //sampleEnd
}