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

Contents

Description

Updates an API key.

Synopsis

Creating a Request

updateAPIKey Source #

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

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

  • uakExpires - The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
  • uakDescription - A description of the purpose of the API key.
  • uakApiId - The ID for the GraphQL API
  • uakId - The API key ID.

data UpdateAPIKey Source #

See: updateAPIKey smart constructor.

Instances
Eq UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Data UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Methods

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

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

toConstr :: UpdateAPIKey -> Constr #

dataTypeOf :: UpdateAPIKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Show UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Generic UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Associated Types

type Rep UpdateAPIKey :: Type -> Type #

Hashable UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

ToJSON UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

AWSRequest UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Associated Types

type Rs UpdateAPIKey :: Type #

ToHeaders UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

ToPath UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

ToQuery UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

NFData UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Methods

rnf :: UpdateAPIKey -> () #

type Rep UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

type Rep UpdateAPIKey = D1 (MetaData "UpdateAPIKey" "Network.AWS.AppSync.UpdateAPIKey" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "UpdateAPIKey'" PrefixI True) ((S1 (MetaSel (Just "_uakExpires") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_uakDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uakApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uakId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateAPIKey Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Request Lenses

uakExpires :: Lens' UpdateAPIKey (Maybe Integer) Source #

The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .

uakDescription :: Lens' UpdateAPIKey (Maybe Text) Source #

A description of the purpose of the API key.

uakApiId :: Lens' UpdateAPIKey Text Source #

The ID for the GraphQL API

uakId :: Lens' UpdateAPIKey Text Source #

The API key ID.

Destructuring the Response

updateAPIKeyResponse Source #

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

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

data UpdateAPIKeyResponse Source #

See: updateAPIKeyResponse smart constructor.

Instances
Eq UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Data UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Methods

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

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

toConstr :: UpdateAPIKeyResponse -> Constr #

dataTypeOf :: UpdateAPIKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Show UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Generic UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Associated Types

type Rep UpdateAPIKeyResponse :: Type -> Type #

NFData UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

Methods

rnf :: UpdateAPIKeyResponse -> () #

type Rep UpdateAPIKeyResponse Source # 
Instance details

Defined in Network.AWS.AppSync.UpdateAPIKey

type Rep UpdateAPIKeyResponse = D1 (MetaData "UpdateAPIKeyResponse" "Network.AWS.AppSync.UpdateAPIKey" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "UpdateAPIKeyResponse'" PrefixI True) (S1 (MetaSel (Just "_uakrsApiKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe APIKey)) :*: S1 (MetaSel (Just "_uakrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

uakrsResponseStatus :: Lens' UpdateAPIKeyResponse Int Source #

  • - | The response status code.