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

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Data UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

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

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Show UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Generic UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Associated Types

type Rep UpgradePublishedSchema :: Type -> Type #

Hashable UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

ToJSON UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

AWSRequest UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Associated Types

type Rs UpgradePublishedSchema :: Type #

ToHeaders UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

ToPath UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

ToQuery UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

NFData UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Methods

rnf :: UpgradePublishedSchema -> () #

type Rep UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

type Rep UpgradePublishedSchema = D1 (MetaData "UpgradePublishedSchema" "Network.AWS.CloudDirectory.UpgradePublishedSchema" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "UpgradePublishedSchema'" PrefixI True) ((S1 (MetaSel (Just "_upsDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_upsDevelopmentSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_upsPublishedSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_upsMinorVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpgradePublishedSchema Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

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

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Data UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

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

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Show UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Generic UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

Associated Types

type Rep UpgradePublishedSchemaResponse :: Type -> Type #

NFData UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

type Rep UpgradePublishedSchemaResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpgradePublishedSchema

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