amazonka-opsworks-1.4.5: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 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.DescribeRAIdArrays

Contents

Description

Describe an instance's RAID arrays.

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

describeRAIdArrays :: DescribeRAIdArrays #

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

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

  • draiaInstanceId - The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.
  • draiaRAIdArrayIds - An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.
  • draiaStackId - The stack ID.

data DescribeRAIdArrays #

See: describeRAIdArrays smart constructor.

Instances

Eq DescribeRAIdArrays # 
Data DescribeRAIdArrays # 

Methods

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

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

toConstr :: DescribeRAIdArrays -> Constr #

dataTypeOf :: DescribeRAIdArrays -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRAIdArrays # 
Show DescribeRAIdArrays # 
Generic DescribeRAIdArrays # 
Hashable DescribeRAIdArrays # 
ToJSON DescribeRAIdArrays # 
NFData DescribeRAIdArrays # 

Methods

rnf :: DescribeRAIdArrays -> () #

AWSRequest DescribeRAIdArrays # 
ToQuery DescribeRAIdArrays # 
ToPath DescribeRAIdArrays # 
ToHeaders DescribeRAIdArrays # 
type Rep DescribeRAIdArrays # 
type Rep DescribeRAIdArrays = D1 (MetaData "DescribeRAIdArrays" "Network.AWS.OpsWorks.DescribeRAIdArrays" "amazonka-opsworks-1.4.5-JiFrWEFhyqOE1ZKfkjkheh" False) (C1 (MetaCons "DescribeRAIdArrays'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_draiaInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_draiaRAIdArrayIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_draiaStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs DescribeRAIdArrays # 

Request Lenses

draiaInstanceId :: Lens' DescribeRAIdArrays (Maybe Text) #

The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.

draiaRAIdArrayIds :: Lens' DescribeRAIdArrays [Text] #

An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.

Destructuring the Response

describeRAIdArraysResponse #

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

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

data DescribeRAIdArraysResponse #

Contains the response to a DescribeRaidArrays request.

See: describeRAIdArraysResponse smart constructor.

Instances

Eq DescribeRAIdArraysResponse # 
Data DescribeRAIdArraysResponse # 

Methods

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

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

toConstr :: DescribeRAIdArraysResponse -> Constr #

dataTypeOf :: DescribeRAIdArraysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRAIdArraysResponse # 
Show DescribeRAIdArraysResponse # 
Generic DescribeRAIdArraysResponse # 
NFData DescribeRAIdArraysResponse # 
type Rep DescribeRAIdArraysResponse # 
type Rep DescribeRAIdArraysResponse = D1 (MetaData "DescribeRAIdArraysResponse" "Network.AWS.OpsWorks.DescribeRAIdArrays" "amazonka-opsworks-1.4.5-JiFrWEFhyqOE1ZKfkjkheh" False) (C1 (MetaCons "DescribeRAIdArraysResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_draiarsRAIdArrays") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RAIdArray]))) (S1 (MetaSel (Just Symbol "_draiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

draiarsRAIdArrays :: Lens' DescribeRAIdArraysResponse [RAIdArray] #

A RaidArrays object that describes the specified RAID arrays.