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.

DescribeVolumesInput

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

type DescribeVolumesInput struct { InstanceId *string `type:"string"` RaidArrayId *string `type:"string"` StackId *string `type:"string"` VolumeIds []*string `type:"list"` }

InstanceId

Type: *string

The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.

RaidArrayId

Type: *string

The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.

StackId

Type: *string

A stack ID. The action describes the stack's registered Amazon EBS volumes.

VolumeIds

Type: []*string

Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.

Method

GoString

func (s DescribeVolumesInput) GoString() string

GoString returns the string representation

SetInstanceId

func (s *DescribeVolumesInput) SetInstanceId(v string) *DescribeVolumesInput

SetInstanceId sets the InstanceId field's value.

SetRaidArrayId

func (s *DescribeVolumesInput) SetRaidArrayId(v string) *DescribeVolumesInput

SetRaidArrayId sets the RaidArrayId field's value.

SetStackId

func (s *DescribeVolumesInput) SetStackId(v string) *DescribeVolumesInput

SetStackId sets the StackId field's value.

SetVolumeIds

func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput

SetVolumeIds sets the VolumeIds field's value.

String

func (s DescribeVolumesInput) String() string

String returns the string representation

On this page: