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.DescribeDeployments

Contents

Description

Requests a description of a specified set of deployments.

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

describeDeployments :: DescribeDeployments Source #

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

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

  • ddAppId - The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.
  • ddDeploymentIds - An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
  • ddStackId - The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.

data DescribeDeployments Source #

See: describeDeployments smart constructor.

Instances

Eq DescribeDeployments Source # 
Data DescribeDeployments Source # 

Methods

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

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

toConstr :: DescribeDeployments -> Constr #

dataTypeOf :: DescribeDeployments -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeDeployments -> () #

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

Request Lenses

ddAppId :: Lens' DescribeDeployments (Maybe Text) Source #

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

ddDeploymentIds :: Lens' DescribeDeployments [Text] Source #

An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

ddStackId :: Lens' DescribeDeployments (Maybe Text) Source #

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

Destructuring the Response

describeDeploymentsResponse Source #

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

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

data DescribeDeploymentsResponse Source #

Contains the response to a DescribeDeployments request.

See: describeDeploymentsResponse smart constructor.

Instances

Eq DescribeDeploymentsResponse Source # 
Data DescribeDeploymentsResponse Source # 

Methods

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

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

toConstr :: DescribeDeploymentsResponse -> Constr #

dataTypeOf :: DescribeDeploymentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

ddrsDeployments :: Lens' DescribeDeploymentsResponse [Deployment] Source #

An array of Deployment objects that describe the deployments.