amazonka-clouddirectory-1.6.0: 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.UpgradePublishedSchema

Contents

Description

Upgrades a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn .

Synopsis

Creating a Request

upgradePublishedSchema Source #

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

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

  • upsDryRun - Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
  • upsDevelopmentSchemaARN - The ARN of the development schema with the changes used for the upgrade.
  • upsPublishedSchemaARN - The ARN of the published schema to be upgraded.
  • upsMinorVersion - Identifies the minor version of the published schema that will be created. This parameter is NOT optional.

data UpgradePublishedSchema Source #

See: upgradePublishedSchema smart constructor.

Instances

Eq UpgradePublishedSchema Source # 
Data UpgradePublishedSchema Source # 

Methods

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

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

toConstr :: UpgradePublishedSchema -> Constr #

dataTypeOf :: UpgradePublishedSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpgradePublishedSchema Source # 
Show UpgradePublishedSchema Source # 
Generic UpgradePublishedSchema Source # 
Hashable UpgradePublishedSchema Source # 
ToJSON UpgradePublishedSchema Source # 
NFData UpgradePublishedSchema Source # 

Methods

rnf :: UpgradePublishedSchema -> () #

AWSRequest UpgradePublishedSchema Source # 
ToHeaders UpgradePublishedSchema Source # 
ToPath UpgradePublishedSchema Source # 
ToQuery UpgradePublishedSchema Source # 
type Rep UpgradePublishedSchema Source # 
type Rep UpgradePublishedSchema = D1 * (MetaData "UpgradePublishedSchema" "Network.AWS.CloudDirectory.UpgradePublishedSchema" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "UpgradePublishedSchema'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_upsDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_upsDevelopmentSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upsPublishedSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_upsMinorVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpgradePublishedSchema Source # 

Request Lenses

upsDryRun :: Lens' UpgradePublishedSchema (Maybe Bool) Source #

Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.

upsDevelopmentSchemaARN :: Lens' UpgradePublishedSchema Text Source #

The ARN of the development schema with the changes used for the upgrade.

upsPublishedSchemaARN :: Lens' UpgradePublishedSchema Text Source #

The ARN of the published schema to be upgraded.

upsMinorVersion :: Lens' UpgradePublishedSchema Text Source #

Identifies the minor version of the published schema that will be created. This parameter is NOT optional.

Destructuring the Response

upgradePublishedSchemaResponse Source #

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

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

data UpgradePublishedSchemaResponse Source #

See: upgradePublishedSchemaResponse smart constructor.

Instances

Eq UpgradePublishedSchemaResponse Source # 
Data UpgradePublishedSchemaResponse Source # 

Methods

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

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

toConstr :: UpgradePublishedSchemaResponse -> Constr #

dataTypeOf :: UpgradePublishedSchemaResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpgradePublishedSchemaResponse Source # 
Show UpgradePublishedSchemaResponse Source # 
Generic UpgradePublishedSchemaResponse Source # 
NFData UpgradePublishedSchemaResponse Source # 
type Rep UpgradePublishedSchemaResponse Source # 
type Rep UpgradePublishedSchemaResponse = D1 * (MetaData "UpgradePublishedSchemaResponse" "Network.AWS.CloudDirectory.UpgradePublishedSchema" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "UpgradePublishedSchemaResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_upsrsUpgradedSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_upsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

upsrsUpgradedSchemaARN :: Lens' UpgradePublishedSchemaResponse (Maybe Text) Source #

The ARN of the upgraded schema that is returned as part of the response.