Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ConfirmProductInstance
- confirmProductInstance :: Text -> Text -> ConfirmProductInstance
- cpiDryRun :: Lens' ConfirmProductInstance (Maybe Bool)
- cpiInstanceId :: Lens' ConfirmProductInstance Text
- cpiProductCode :: Lens' ConfirmProductInstance Text
- data ConfirmProductInstanceResponse
- confirmProductInstanceResponse :: ConfirmProductInstanceResponse
- cpirOwnerId :: Lens' ConfirmProductInstanceResponse (Maybe Text)
Request
data ConfirmProductInstance Source
Request constructor
ConfirmProductInstance
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cpiInstanceId :: Lens' ConfirmProductInstance Text Source
The ID of the instance.
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:
cpirOwnerId
::
Maybe
Text
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.