amazonka-greengrass-1.6.0: Amazon Greengrass 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.Greengrass.ListDeployments

Contents

Description

Returns a history of deployments for the group.

Synopsis

Creating a Request

listDeployments Source #

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

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

  • lNextToken - The token for the next set of results, or 'null' if there are no additional results.
  • lMaxResults - The maximum number of results to be returned per request.
  • lGroupId - The ID of the AWS Greengrass group.

data ListDeployments Source #

See: listDeployments smart constructor.

Instances

Eq ListDeployments Source # 
Data ListDeployments Source # 

Methods

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

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

toConstr :: ListDeployments -> Constr #

dataTypeOf :: ListDeployments -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeployments Source # 
Show ListDeployments Source # 
Generic ListDeployments Source # 
Hashable ListDeployments Source # 
NFData ListDeployments Source # 

Methods

rnf :: ListDeployments -> () #

AWSRequest ListDeployments Source # 
ToHeaders ListDeployments Source # 
ToPath ListDeployments Source # 
ToQuery ListDeployments Source # 
type Rep ListDeployments Source # 
type Rep ListDeployments = D1 * (MetaData "ListDeployments" "Network.AWS.Greengrass.ListDeployments" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "ListDeployments'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListDeployments Source # 

Request Lenses

lNextToken :: Lens' ListDeployments (Maybe Text) Source #

The token for the next set of results, or 'null' if there are no additional results.

lMaxResults :: Lens' ListDeployments (Maybe Text) Source #

The maximum number of results to be returned per request.

lGroupId :: Lens' ListDeployments Text Source #

The ID of the AWS Greengrass group.

Destructuring the Response

listDeploymentsResponse Source #

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

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

data ListDeploymentsResponse Source #

See: listDeploymentsResponse smart constructor.

Instances

Eq ListDeploymentsResponse Source # 
Data ListDeploymentsResponse Source # 

Methods

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

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

toConstr :: ListDeploymentsResponse -> Constr #

dataTypeOf :: ListDeploymentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeploymentsResponse Source # 
Show ListDeploymentsResponse Source # 
Generic ListDeploymentsResponse Source # 
NFData ListDeploymentsResponse Source # 

Methods

rnf :: ListDeploymentsResponse -> () #

type Rep ListDeploymentsResponse Source # 
type Rep ListDeploymentsResponse = D1 * (MetaData "ListDeploymentsResponse" "Network.AWS.Greengrass.ListDeployments" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "ListDeploymentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldrsDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Deployment]))) (S1 * (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #

The token for the next set of results, or 'null' if there are no additional results.

ldrsDeployments :: Lens' ListDeploymentsResponse [Deployment] Source #

A list of deployments for the requested groups.