amazonka-opsworks-1.3.3: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DescribeVolumes

Contents

Description

Describes an instance's Amazon EBS volumes.

You must specify at least one of the parameters.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See: AWS API Reference for DescribeVolumes.

Synopsis

Creating a Request

describeVolumes :: DescribeVolumes Source

Creates a value of DescribeVolumes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dvInstanceId :: Lens' DescribeVolumes (Maybe Text) Source

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

dvVolumeIds :: Lens' DescribeVolumes [Text] Source

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.

dvRAIdArrayId :: Lens' DescribeVolumes (Maybe Text) Source

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

dvStackId :: Lens' DescribeVolumes (Maybe Text) Source

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

Destructuring the Response

describeVolumesResponse Source

Creates a value of DescribeVolumesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses