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.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 # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Data DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

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 # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Show DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Generic DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Associated Types

type Rep DescribeCommands :: Type -> Type #

Hashable DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

ToJSON DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

AWSRequest DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Associated Types

type Rs DescribeCommands :: Type #

ToHeaders DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

ToPath DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

ToQuery DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

NFData DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Methods

rnf :: DescribeCommands -> () #

type Rep DescribeCommands Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

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

Defined in Network.AWS.OpsWorks.DescribeCommands

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 # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Data DescribeCommandsResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

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 # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Show DescribeCommandsResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Generic DescribeCommandsResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

Associated Types

type Rep DescribeCommandsResponse :: Type -> Type #

NFData DescribeCommandsResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

type Rep DescribeCommandsResponse Source # 
Instance details

Defined in Network.AWS.OpsWorks.DescribeCommands

type Rep DescribeCommandsResponse = D1 (MetaData "DescribeCommandsResponse" "Network.AWS.OpsWorks.DescribeCommands" "amazonka-opsworks-1.6.1-DPqCyF3LO9t3rjfO10vXJE" False) (C1 (MetaCons "DescribeCommandsResponse'" PrefixI True) (S1 (MetaSel (Just "_dcrsCommands") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Command])) :*: S1 (MetaSel (Just "_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.