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

Contents

Description

Copies the input published schema into the Directory with the same name and version as that of the published schema .

Synopsis

Creating a Request

applySchema Source #

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

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

  • asPublishedSchemaARN - Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns .
  • asDirectoryARN - The Amazon Resource Name (ARN) that is associated with the Directory into which the schema is copied. For more information, see arns .

data ApplySchema Source #

See: applySchema smart constructor.

Instances

Eq ApplySchema Source # 
Data ApplySchema Source # 

Methods

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

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

toConstr :: ApplySchema -> Constr #

dataTypeOf :: ApplySchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ApplySchema Source # 
Show ApplySchema Source # 
Generic ApplySchema Source # 

Associated Types

type Rep ApplySchema :: * -> * #

Hashable ApplySchema Source # 
ToJSON ApplySchema Source # 
NFData ApplySchema Source # 

Methods

rnf :: ApplySchema -> () #

AWSRequest ApplySchema Source # 
ToQuery ApplySchema Source # 
ToPath ApplySchema Source # 
ToHeaders ApplySchema Source # 

Methods

toHeaders :: ApplySchema -> [Header] #

type Rep ApplySchema Source # 
type Rep ApplySchema = D1 (MetaData "ApplySchema" "Network.AWS.CloudDirectory.ApplySchema" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "ApplySchema'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_asPublishedSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_asDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ApplySchema Source # 

Request Lenses

asPublishedSchemaARN :: Lens' ApplySchema Text Source #

Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see arns .

asDirectoryARN :: Lens' ApplySchema Text Source #

The Amazon Resource Name (ARN) that is associated with the Directory into which the schema is copied. For more information, see arns .

Destructuring the Response

applySchemaResponse Source #

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

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

  • asrsDirectoryARN - The ARN that is associated with the Directory . For more information, see arns .
  • asrsAppliedSchemaARN - The applied schema ARN that is associated with the copied schema in the Directory . You can use this ARN to describe the schema information applied on this directory. For more information, see arns .
  • asrsResponseStatus - -- | The response status code.

data ApplySchemaResponse Source #

See: applySchemaResponse smart constructor.

Instances

Eq ApplySchemaResponse Source # 
Data ApplySchemaResponse Source # 

Methods

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

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

toConstr :: ApplySchemaResponse -> Constr #

dataTypeOf :: ApplySchemaResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ApplySchemaResponse Source # 
Show ApplySchemaResponse Source # 
Generic ApplySchemaResponse Source # 
NFData ApplySchemaResponse Source # 

Methods

rnf :: ApplySchemaResponse -> () #

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

Response Lenses

asrsDirectoryARN :: Lens' ApplySchemaResponse (Maybe Text) Source #

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

asrsAppliedSchemaARN :: Lens' ApplySchemaResponse (Maybe Text) Source #

The applied schema ARN that is associated with the copied schema in the Directory . You can use this ARN to describe the schema information applied on this directory. For more information, see arns .

asrsResponseStatus :: Lens' ApplySchemaResponse Int Source #

  • - | The response status code.