amazonka-appsync-1.6.0: Amazon AppSync 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.AppSync.UpdateType

Contents

Description

Updates a Type object.

Synopsis

Creating a Request

updateType Source #

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

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

data UpdateType Source #

See: updateType smart constructor.

Instances

Eq UpdateType Source # 
Data UpdateType Source # 

Methods

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

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

toConstr :: UpdateType -> Constr #

dataTypeOf :: UpdateType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateType Source # 
Show UpdateType Source # 
Generic UpdateType Source # 

Associated Types

type Rep UpdateType :: * -> * #

Hashable UpdateType Source # 
ToJSON UpdateType Source # 
NFData UpdateType Source # 

Methods

rnf :: UpdateType -> () #

AWSRequest UpdateType Source # 
ToHeaders UpdateType Source # 

Methods

toHeaders :: UpdateType -> [Header] #

ToPath UpdateType Source # 
ToQuery UpdateType Source # 
type Rep UpdateType Source # 
type Rep UpdateType = D1 * (MetaData "UpdateType" "Network.AWS.AppSync.UpdateType" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "UpdateType'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_utDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_utApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_utTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_utFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * TypeDefinitionFormat)))))
type Rs UpdateType Source # 

Request Lenses

utDefinition :: Lens' UpdateType (Maybe Text) Source #

The new definition.

utTypeName :: Lens' UpdateType Text Source #

The new type name.

utFormat :: Lens' UpdateType TypeDefinitionFormat Source #

The new type format: SDL or JSON.

Destructuring the Response

updateTypeResponse Source #

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

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

data UpdateTypeResponse Source #

See: updateTypeResponse smart constructor.

Instances

Eq UpdateTypeResponse Source # 
Data UpdateTypeResponse Source # 

Methods

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

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

toConstr :: UpdateTypeResponse -> Constr #

dataTypeOf :: UpdateTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateTypeResponse Source # 
Show UpdateTypeResponse Source # 
Generic UpdateTypeResponse Source # 
NFData UpdateTypeResponse Source # 

Methods

rnf :: UpdateTypeResponse -> () #

type Rep UpdateTypeResponse Source # 
type Rep UpdateTypeResponse = D1 * (MetaData "UpdateTypeResponse" "Network.AWS.AppSync.UpdateType" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "UpdateTypeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_utrsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Type))) (S1 * (MetaSel (Just Symbol "_utrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

utrsType :: Lens' UpdateTypeResponse (Maybe Type) Source #

The updated Type object.

utrsResponseStatus :: Lens' UpdateTypeResponse Int Source #

  • - | The response status code.