amazonka-clouddirectory-1.5.0: Amazon CloudDirectory SDK.

Copyright(c) 2013-2017 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.CloudDirectory.UpdateSchema

Contents

Description

Updates the schema name with a new name. Only development schema names can be updated.

Synopsis

Creating a Request

updateSchema Source #

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

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

  • usSchemaARN - The Amazon Resource Name (ARN) of the development schema. For more information, see arns .
  • usName - The name of the schema.

data UpdateSchema Source #

See: updateSchema smart constructor.

Instances

Eq UpdateSchema Source # 
Data UpdateSchema Source # 

Methods

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

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

toConstr :: UpdateSchema -> Constr #

dataTypeOf :: UpdateSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSchema Source # 
Show UpdateSchema Source # 
Generic UpdateSchema Source # 

Associated Types

type Rep UpdateSchema :: * -> * #

Hashable UpdateSchema Source # 
ToJSON UpdateSchema Source # 
NFData UpdateSchema Source # 

Methods

rnf :: UpdateSchema -> () #

AWSRequest UpdateSchema Source # 
ToQuery UpdateSchema Source # 
ToPath UpdateSchema Source # 
ToHeaders UpdateSchema Source # 
type Rep UpdateSchema Source # 
type Rep UpdateSchema = D1 (MetaData "UpdateSchema" "Network.AWS.CloudDirectory.UpdateSchema" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "UpdateSchema'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_usName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateSchema Source # 

Request Lenses

usSchemaARN :: Lens' UpdateSchema Text Source #

The Amazon Resource Name (ARN) of the development schema. For more information, see arns .

usName :: Lens' UpdateSchema Text Source #

The name of the schema.

Destructuring the Response

updateSchemaResponse Source #

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

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

data UpdateSchemaResponse Source #

See: updateSchemaResponse smart constructor.

Instances

Eq UpdateSchemaResponse Source # 
Data UpdateSchemaResponse Source # 

Methods

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

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

toConstr :: UpdateSchemaResponse -> Constr #

dataTypeOf :: UpdateSchemaResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateSchemaResponse Source # 
Show UpdateSchemaResponse Source # 
Generic UpdateSchemaResponse Source # 
NFData UpdateSchemaResponse Source # 

Methods

rnf :: UpdateSchemaResponse -> () #

type Rep UpdateSchemaResponse Source # 
type Rep UpdateSchemaResponse = D1 (MetaData "UpdateSchemaResponse" "Network.AWS.CloudDirectory.UpdateSchema" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "UpdateSchemaResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usrsSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_usrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

usrsSchemaARN :: Lens' UpdateSchemaResponse (Maybe Text) Source #

The ARN that is associated with the updated schema. For more information, see arns .

usrsResponseStatus :: Lens' UpdateSchemaResponse Int Source #

  • - | The response status code.