get_groups_for_capacity_reservation(**kwargs)¶Lists the resource groups to which a Capacity Reservation has been added.
See also: AWS API Documentation
Request Syntax
response = client.get_groups_for_capacity_reservation(
    CapacityReservationId='string',
    NextToken='string',
    MaxResults=123,
    DryRun=True|False
)
[REQUIRED]
The ID of the Capacity Reservation.
nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.DryRunOperation . Otherwise, it is UnauthorizedOperation .dict
Response Syntax
{
    'NextToken': 'string',
    'CapacityReservationGroups': [
        {
            'GroupArn': 'string',
            'OwnerId': 'string'
        },
    ]
}
Response Structure
(dict) --
NextToken (string) --
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
CapacityReservationGroups (list) --
Information about the resource groups to which the Capacity Reservation has been added.
(dict) --
Describes a resource group to which a Capacity Reservation has been added.
GroupArn (string) --
The ARN of the resource group.
OwnerId (string) --
The ID of the Amazon Web Services account that owns the resource group.