Skip to content

Confirm Product Instance

ec2_confirm_product_instance R Documentation

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.

Value

A list with the following syntax:

list(
  OwnerId = "string",
  Return = TRUE|FALSE
)

Request syntax

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

Examples

## Not run: 
# This example determines whether the specified product code is associated
# with the specified instance.
svc$confirm_product_instance(
  InstanceId = "i-1234567890abcdef0",
  ProductCode = "774F4FF8"
)

## End(Not run)