paws.compute (version 0.1.0)

ec2_confirm_product_instance: Determines whether a product code is associated with an instance

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

Usage

ec2_confirm_product_instance(InstanceId, ProductCode, DryRun)

Arguments

InstanceId

[required] The ID of the instance.

ProductCode

[required] The product code. This must be a product code that you own.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request syntax

svc$confirm_product_instance(
  InstanceId = "string",
  ProductCode = "string",
  DryRun = TRUE|FALSE
)

Examples

Run this code
# NOT RUN {
# This example determines whether the specified product code is associated
# with the specified instance.
# }
# NOT RUN {
svc$confirm_product_instance(
  InstanceId = "i-1234567890abcdef0",
  ProductCode = "774F4FF8"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab