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

Contents

Description

Updates a GraphqlApi object.

Synopsis

Creating a Request

updateGraphqlAPI Source #

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

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

data UpdateGraphqlAPI Source #

See: updateGraphqlAPI smart constructor.

Instances

Eq UpdateGraphqlAPI Source # 
Data UpdateGraphqlAPI Source # 

Methods

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

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

toConstr :: UpdateGraphqlAPI -> Constr #

dataTypeOf :: UpdateGraphqlAPI -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateGraphqlAPI -> () #

AWSRequest UpdateGraphqlAPI Source # 
ToHeaders UpdateGraphqlAPI Source # 
ToPath UpdateGraphqlAPI Source # 
ToQuery UpdateGraphqlAPI Source # 
type Rep UpdateGraphqlAPI Source # 
type Rep UpdateGraphqlAPI = D1 * (MetaData "UpdateGraphqlAPI" "Network.AWS.AppSync.UpdateGraphqlAPI" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "UpdateGraphqlAPI'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ugaOpenIdConnectConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OpenIdConnectConfig))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugaUserPoolConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe UserPoolConfig))) (S1 * (MetaSel (Just Symbol "_ugaAuthenticationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AuthenticationType))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugaLogConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LogConfig))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugaApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ugaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateGraphqlAPI Source # 

Request Lenses

ugaOpenIdConnectConfig :: Lens' UpdateGraphqlAPI (Maybe OpenIdConnectConfig) Source #

The Open Id Connect configuration configuration for the GraphqlApi object.

ugaUserPoolConfig :: Lens' UpdateGraphqlAPI (Maybe UserPoolConfig) Source #

The new Amazon Cognito User Pool configuration for the GraphqlApi object.

ugaAuthenticationType :: Lens' UpdateGraphqlAPI (Maybe AuthenticationType) Source #

The new authentication type for the GraphqlApi object.

ugaLogConfig :: Lens' UpdateGraphqlAPI (Maybe LogConfig) Source #

The Amazon CloudWatch logs configuration for the GraphqlApi object.

ugaName :: Lens' UpdateGraphqlAPI Text Source #

The new name for the GraphqlApi object.

Destructuring the Response

updateGraphqlAPIResponse Source #

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

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

data UpdateGraphqlAPIResponse Source #

See: updateGraphqlAPIResponse smart constructor.

Instances

Eq UpdateGraphqlAPIResponse Source # 
Data UpdateGraphqlAPIResponse Source # 

Methods

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

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

toConstr :: UpdateGraphqlAPIResponse -> Constr #

dataTypeOf :: UpdateGraphqlAPIResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGraphqlAPIResponse Source # 
Show UpdateGraphqlAPIResponse Source # 
Generic UpdateGraphqlAPIResponse Source # 
NFData UpdateGraphqlAPIResponse Source # 
type Rep UpdateGraphqlAPIResponse Source # 
type Rep UpdateGraphqlAPIResponse = D1 * (MetaData "UpdateGraphqlAPIResponse" "Network.AWS.AppSync.UpdateGraphqlAPI" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "UpdateGraphqlAPIResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ugarsGraphqlAPI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe GraphqlAPI))) (S1 * (MetaSel (Just Symbol "_ugarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses