amazonka-clouddirectory-1.6.1: Amazon CloudDirectory 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.CloudDirectory.ApplySchema

Contents

Description

Copies the input published schema, at the specified version, 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 # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Data ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

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

Defined in Network.AWS.CloudDirectory.ApplySchema

Show ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Generic ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Associated Types

type Rep ApplySchema :: Type -> Type #

Hashable ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

ToJSON ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

AWSRequest ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Associated Types

type Rs ApplySchema :: Type #

ToHeaders ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Methods

toHeaders :: ApplySchema -> [Header] #

ToPath ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

ToQuery ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

NFData ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Methods

rnf :: ApplySchema -> () #

type Rep ApplySchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

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

Defined in Network.AWS.CloudDirectory.ApplySchema

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

Defined in Network.AWS.CloudDirectory.ApplySchema

Data ApplySchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

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

Defined in Network.AWS.CloudDirectory.ApplySchema

Show ApplySchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Generic ApplySchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Associated Types

type Rep ApplySchemaResponse :: Type -> Type #

NFData ApplySchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

Methods

rnf :: ApplySchemaResponse -> () #

type Rep ApplySchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ApplySchema

type Rep ApplySchemaResponse = D1 (MetaData "ApplySchemaResponse" "Network.AWS.CloudDirectory.ApplySchema" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "ApplySchemaResponse'" PrefixI True) (S1 (MetaSel (Just "_asrsDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_asrsAppliedSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.