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

Contents

Description

Publishes a development schema with a version. If description and attributes are specified, PublishSchema overrides the development schema description and attributes. If not, the development schema description and attributes are used.

Synopsis

Creating a Request

publishSchema Source #

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

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

  • psName - The new name under which the schema will be published. If this is not provided, the development schema is considered.
  • psDevelopmentSchemaARN - The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns .
  • psVersion - The version under which the schema will be published.

data PublishSchema Source #

See: publishSchema smart constructor.

Instances

Eq PublishSchema Source # 
Data PublishSchema Source # 

Methods

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

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

toConstr :: PublishSchema -> Constr #

dataTypeOf :: PublishSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PublishSchema Source # 
Show PublishSchema Source # 
Generic PublishSchema Source # 

Associated Types

type Rep PublishSchema :: * -> * #

Hashable PublishSchema Source # 
ToJSON PublishSchema Source # 
NFData PublishSchema Source # 

Methods

rnf :: PublishSchema -> () #

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

Request Lenses

psName :: Lens' PublishSchema (Maybe Text) Source #

The new name under which the schema will be published. If this is not provided, the development schema is considered.

psDevelopmentSchemaARN :: Lens' PublishSchema Text Source #

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

psVersion :: Lens' PublishSchema Text Source #

The version under which the schema will be published.

Destructuring the Response

publishSchemaResponse Source #

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

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

data PublishSchemaResponse Source #

See: publishSchemaResponse smart constructor.

Instances

Eq PublishSchemaResponse Source # 
Data PublishSchemaResponse Source # 

Methods

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

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

toConstr :: PublishSchemaResponse -> Constr #

dataTypeOf :: PublishSchemaResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PublishSchemaResponse Source # 
Show PublishSchemaResponse Source # 
Generic PublishSchemaResponse Source # 
NFData PublishSchemaResponse Source # 

Methods

rnf :: PublishSchemaResponse -> () #

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

Response Lenses

psrsPublishedSchemaARN :: Lens' PublishSchemaResponse (Maybe Text) Source #

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

psrsResponseStatus :: Lens' PublishSchemaResponse Int Source #

  • - | The response status code.