Learn R Programming

paws.compute (version 0.1.12)

ec2_get_groups_for_capacity_reservation: Lists the resource groups to which a Capacity Reservation has been added

Description

Lists the resource groups to which a Capacity Reservation has been added.

Usage

ec2_get_groups_for_capacity_reservation(CapacityReservationId,
  NextToken, MaxResults, DryRun)

Value

A list with the following syntax:

list(
  NextToken = "string",
  CapacityReservationGroups = list(
    list(
      GroupArn = "string",
      OwnerId = "string"
    )
  )
)

Arguments

CapacityReservationId

[required] The ID of the Capacity Reservation.

NextToken

The token to use to retrieve the next page of results.

MaxResults

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

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$get_groups_for_capacity_reservation(
  CapacityReservationId = "string",
  NextToken = "string",
  MaxResults = 123,
  DryRun = TRUE|FALSE
)