amazonka-opsworks-1.6.0: 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.DescribeCommands

Contents

Description

Describes the results of specified commands.

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

describeCommands :: DescribeCommands Source #

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

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

  • dcDeploymentId - The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
  • dcInstanceId - The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
  • dcCommandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

data DescribeCommands Source #

See: describeCommands smart constructor.

Instances

Eq DescribeCommands Source # 
Data DescribeCommands Source # 

Methods

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

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

toConstr :: DescribeCommands -> Constr #

dataTypeOf :: DescribeCommands -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCommands Source # 
Show DescribeCommands Source # 
Generic DescribeCommands Source # 
Hashable DescribeCommands Source # 
ToJSON DescribeCommands Source # 
NFData DescribeCommands Source # 

Methods

rnf :: DescribeCommands -> () #

AWSRequest DescribeCommands Source # 
ToHeaders DescribeCommands Source # 
ToPath DescribeCommands Source # 
ToQuery DescribeCommands Source # 
type Rep DescribeCommands Source # 
type Rep DescribeCommands = D1 * (MetaData "DescribeCommands" "Network.AWS.OpsWorks.DescribeCommands" "amazonka-opsworks-1.6.0-dhw3H9lmJm2qKjEl8vg7Z" False) (C1 * (MetaCons "DescribeCommands'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dcCommandIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))))))
type Rs DescribeCommands Source # 

Request Lenses

dcDeploymentId :: Lens' DescribeCommands (Maybe Text) Source #

The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

dcInstanceId :: Lens' DescribeCommands (Maybe Text) Source #

The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

dcCommandIds :: Lens' DescribeCommands [Text] Source #

An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

Destructuring the Response

describeCommandsResponse Source #

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

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

data DescribeCommandsResponse Source #

Contains the response to a DescribeCommands request.

See: describeCommandsResponse smart constructor.

Instances

Eq DescribeCommandsResponse Source # 
Data DescribeCommandsResponse Source # 

Methods

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

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

toConstr :: DescribeCommandsResponse -> Constr #

dataTypeOf :: DescribeCommandsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeCommandsResponse Source # 
Show DescribeCommandsResponse Source # 
Generic DescribeCommandsResponse Source # 
NFData DescribeCommandsResponse Source # 
type Rep DescribeCommandsResponse Source # 
type Rep DescribeCommandsResponse = D1 * (MetaData "DescribeCommandsResponse" "Network.AWS.OpsWorks.DescribeCommands" "amazonka-opsworks-1.6.0-dhw3H9lmJm2qKjEl8vg7Z" False) (C1 * (MetaCons "DescribeCommandsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcrsCommands") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Command]))) (S1 * (MetaSel (Just Symbol "_dcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

dcrsCommands :: Lens' DescribeCommandsResponse [Command] Source #

An array of Command objects that describe each of the specified commands.