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

Contents

Description

Updates a resource definition.

Synopsis

Creating a Request

updateResourceDefinition Source #

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

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

data UpdateResourceDefinition Source #

See: updateResourceDefinition smart constructor.

Instances

Eq UpdateResourceDefinition Source # 
Data UpdateResourceDefinition Source # 

Methods

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

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

toConstr :: UpdateResourceDefinition -> Constr #

dataTypeOf :: UpdateResourceDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateResourceDefinition Source # 
Show UpdateResourceDefinition Source # 
Generic UpdateResourceDefinition Source # 
Hashable UpdateResourceDefinition Source # 
ToJSON UpdateResourceDefinition Source # 
NFData UpdateResourceDefinition Source # 
AWSRequest UpdateResourceDefinition Source # 
ToHeaders UpdateResourceDefinition Source # 
ToPath UpdateResourceDefinition Source # 
ToQuery UpdateResourceDefinition Source # 
type Rep UpdateResourceDefinition Source # 
type Rep UpdateResourceDefinition = D1 * (MetaData "UpdateResourceDefinition" "Network.AWS.Greengrass.UpdateResourceDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "UpdateResourceDefinition'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_urdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_urdResourceDefinitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdateResourceDefinition Source # 

Request Lenses

urdName :: Lens' UpdateResourceDefinition (Maybe Text) Source #

The name of the definition.

urdResourceDefinitionId :: Lens' UpdateResourceDefinition Text Source #

The ID of the resource definition.

Destructuring the Response

updateResourceDefinitionResponse Source #

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

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

data UpdateResourceDefinitionResponse Source #

See: updateResourceDefinitionResponse smart constructor.

Instances

Eq UpdateResourceDefinitionResponse Source # 
Data UpdateResourceDefinitionResponse Source # 

Methods

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

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

toConstr :: UpdateResourceDefinitionResponse -> Constr #

dataTypeOf :: UpdateResourceDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateResourceDefinitionResponse Source # 
Show UpdateResourceDefinitionResponse Source # 
Generic UpdateResourceDefinitionResponse Source # 
NFData UpdateResourceDefinitionResponse Source # 
type Rep UpdateResourceDefinitionResponse Source # 
type Rep UpdateResourceDefinitionResponse = D1 * (MetaData "UpdateResourceDefinitionResponse" "Network.AWS.Greengrass.UpdateResourceDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" True) (C1 * (MetaCons "UpdateResourceDefinitionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_urdrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses