AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeCapacityReservationsOutput

import "github.com/aws/aws-sdk-go/service/ec2"

type DescribeCapacityReservationsOutput struct { CapacityReservations []*CapacityReservation `locationName:"capacityReservationSet" locationNameList:"item" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` }

CapacityReservations

Describes a Capacity Reservation.

NextToken

Type: *string

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Method

GoString

func (s DescribeCapacityReservationsOutput) GoString() string

GoString returns the string representation

SetCapacityReservations

func (s *DescribeCapacityReservationsOutput) SetCapacityReservations(v []*CapacityReservation) *DescribeCapacityReservationsOutput

SetCapacityReservations sets the CapacityReservations field's value.

SetNextToken

func (s *DescribeCapacityReservationsOutput) SetNextToken(v string) *DescribeCapacityReservationsOutput

SetNextToken sets the NextToken field's value.

String

func (s DescribeCapacityReservationsOutput) String() string

String returns the string representation

On this page: