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

Contents

Description

Resets a group's deployments.

Synopsis

Creating a Request

resetDeployments Source #

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

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

  • rdAmznClientToken - A client token used to correlate requests and responses.
  • rdForce - If true, performs a best-effort only core reset.
  • rdGroupId - The ID of the AWS Greengrass group.

data ResetDeployments Source #

Information needed to reset deployments.

See: resetDeployments smart constructor.

Instances

Eq ResetDeployments Source # 
Data ResetDeployments Source # 

Methods

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

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

toConstr :: ResetDeployments -> Constr #

dataTypeOf :: ResetDeployments -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ResetDeployments -> () #

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

Request Lenses

rdAmznClientToken :: Lens' ResetDeployments (Maybe Text) Source #

A client token used to correlate requests and responses.

rdForce :: Lens' ResetDeployments (Maybe Bool) Source #

If true, performs a best-effort only core reset.

rdGroupId :: Lens' ResetDeployments Text Source #

The ID of the AWS Greengrass group.

Destructuring the Response

resetDeploymentsResponse Source #

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

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

data ResetDeploymentsResponse Source #

See: resetDeploymentsResponse smart constructor.

Instances

Eq ResetDeploymentsResponse Source # 
Data ResetDeploymentsResponse Source # 

Methods

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

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

toConstr :: ResetDeploymentsResponse -> Constr #

dataTypeOf :: ResetDeploymentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetDeploymentsResponse Source # 
Show ResetDeploymentsResponse Source # 
Generic ResetDeploymentsResponse Source # 
NFData ResetDeploymentsResponse Source # 
type Rep ResetDeploymentsResponse Source # 
type Rep ResetDeploymentsResponse = D1 * (MetaData "ResetDeploymentsResponse" "Network.AWS.Greengrass.ResetDeployments" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "ResetDeploymentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdrsDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdrsDeploymentARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses