amazonka-appsync-1.6.1: 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 # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Data UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

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 # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Show UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Generic UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Associated Types

type Rep UpdateType :: Type -> Type #

Hashable UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

ToJSON UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

AWSRequest UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Associated Types

type Rs UpdateType :: Type #

ToHeaders UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Methods

toHeaders :: UpdateType -> [Header] #

ToPath UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

ToQuery UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

NFData UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Methods

rnf :: UpdateType -> () #

type Rep UpdateType Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

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

Defined in Network.AWS.AppSync.UpdateType

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 # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Data UpdateTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

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 # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Show UpdateTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Generic UpdateTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Associated Types

type Rep UpdateTypeResponse :: Type -> Type #

NFData UpdateTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

Methods

rnf :: UpdateTypeResponse -> () #

type Rep UpdateTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateType

type Rep UpdateTypeResponse = D1 (MetaData "UpdateTypeResponse" "Network.AWS.AppSync.UpdateType" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "UpdateTypeResponse'" PrefixI True) (S1 (MetaSel (Just "_utrsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Type)) :*: S1 (MetaSel (Just "_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.