amazonka-ec2-0.0.4: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ConfirmProductInstance

Contents

Description

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 needs to verify whether another user's instance is eligible for support.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ConfirmProductInstance.html

Synopsis

Request

Request constructor

Request lenses

cpiProductCode :: Lens' ConfirmProductInstance Text Source

The product code. This must be a product code that you own.

Response

Response constructor

confirmProductInstanceResponse :: ConfirmProductInstanceResponse Source

ConfirmProductInstanceResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

cpirOwnerId :: Lens' ConfirmProductInstanceResponse (Maybe Text) Source

The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.