amazonka-opsworks-1.6.1: Amazon OpsWorks SDK.

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

Network.AWS.OpsWorks.DescribeVolumes

Contents

Description

Describes an instance's Amazon EBS volumes.

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 .

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:

  • dvInstanceId - The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.
  • dvVolumeIds - 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 - The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.
  • dvStackId - A stack ID. The action describes the stack's registered Amazon EBS volumes.

data DescribeVolumes Source #

See: describeVolumes smart constructor.

Instances
Eq DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Data DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeVolumes -> c DescribeVolumes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeVolumes #

toConstr :: DescribeVolumes -> Constr #

dataTypeOf :: DescribeVolumes -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeVolumes) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeVolumes) #

gmapT :: (forall b. Data b => b -> b) -> DescribeVolumes -> DescribeVolumes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeVolumes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeVolumes -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeVolumes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeVolumes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeVolumes -> m DescribeVolumes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeVolumes -> m DescribeVolumes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeVolumes -> m DescribeVolumes #

Read DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Show DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Generic DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Associated Types

type Rep DescribeVolumes :: Type -> Type #

Hashable DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

ToJSON DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

AWSRequest DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Associated Types

type Rs DescribeVolumes :: Type #

ToHeaders DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

ToPath DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

ToQuery DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

NFData DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Methods

rnf :: DescribeVolumes -> () #

type Rep DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

type Rep DescribeVolumes = D1 (MetaData "DescribeVolumes" "Network.AWS.OpsWorks.DescribeVolumes" "amazonka-opsworks-1.6.1-DPqCyF3LO9t3rjfO10vXJE" False) (C1 (MetaCons "DescribeVolumes'" PrefixI True) ((S1 (MetaSel (Just "_dvInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvVolumeIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_dvRAIdArrayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeVolumes Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

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:

data DescribeVolumesResponse Source #

Contains the response to a DescribeVolumes request.

See: describeVolumesResponse smart constructor.

Instances
Eq DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Data DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeVolumesResponse -> c DescribeVolumesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeVolumesResponse #

toConstr :: DescribeVolumesResponse -> Constr #

dataTypeOf :: DescribeVolumesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeVolumesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeVolumesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeVolumesResponse -> DescribeVolumesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeVolumesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeVolumesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeVolumesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeVolumesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeVolumesResponse -> m DescribeVolumesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeVolumesResponse -> m DescribeVolumesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeVolumesResponse -> m DescribeVolumesResponse #

Read DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Show DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Generic DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Associated Types

type Rep DescribeVolumesResponse :: Type -> Type #

NFData DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

Methods

rnf :: DescribeVolumesResponse -> () #

type Rep DescribeVolumesResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeVolumes

type Rep DescribeVolumesResponse = D1 (MetaData "DescribeVolumesResponse" "Network.AWS.OpsWorks.DescribeVolumes" "amazonka-opsworks-1.6.1-DPqCyF3LO9t3rjfO10vXJE" False) (C1 (MetaCons "DescribeVolumesResponse'" PrefixI True) (S1 (MetaSel (Just "_dvrsVolumes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Volume])) :*: S1 (MetaSel (Just "_dvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses