amazonka-ds-1.6.0: Amazon Directory Service 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.DirectoryService.StartSchemaExtension

Contents

Description

Applies a schema extension to a Microsoft AD directory.

Synopsis

Creating a Request

startSchemaExtension #

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

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

  • sseDirectoryId - The identifier of the directory for which the schema extension will be applied to.
  • sseCreateSnapshotBeforeSchemaExtension - If true, creates a snapshot of the directory before applying the schema extension.
  • sseLdifContent - The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with n. See the example request below for more details. The file size can be no larger than 1MB.
  • sseDescription - A description of the schema extension.

data StartSchemaExtension #

See: startSchemaExtension smart constructor.

Instances
Eq StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Data StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Methods

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

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

toConstr :: StartSchemaExtension -> Constr #

dataTypeOf :: StartSchemaExtension -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Show StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Generic StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Associated Types

type Rep StartSchemaExtension :: * -> * #

Hashable StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

ToJSON StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

AWSRequest StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Associated Types

type Rs StartSchemaExtension :: * #

ToHeaders StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

ToPath StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

ToQuery StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

NFData StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Methods

rnf :: StartSchemaExtension -> () #

type Rep StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtension = D1 (MetaData "StartSchemaExtension" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.6.0-KB9g0KnLv74HaSgv3fSxM9" False) (C1 (MetaCons "StartSchemaExtension'" PrefixI True) ((S1 (MetaSel (Just "_sseDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sseCreateSnapshotBeforeSchemaExtension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) :*: (S1 (MetaSel (Just "_sseLdifContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sseDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs StartSchemaExtension # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Request Lenses

sseDirectoryId :: Lens' StartSchemaExtension Text #

The identifier of the directory for which the schema extension will be applied to.

sseCreateSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool #

If true, creates a snapshot of the directory before applying the schema extension.

sseLdifContent :: Lens' StartSchemaExtension Text #

The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with n. See the example request below for more details. The file size can be no larger than 1MB.

sseDescription :: Lens' StartSchemaExtension Text #

A description of the schema extension.

Destructuring the Response

startSchemaExtensionResponse #

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

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

data StartSchemaExtensionResponse #

See: startSchemaExtensionResponse smart constructor.

Instances
Eq StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Data StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Methods

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

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

toConstr :: StartSchemaExtensionResponse -> Constr #

dataTypeOf :: StartSchemaExtensionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Show StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Generic StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Associated Types

type Rep StartSchemaExtensionResponse :: * -> * #

NFData StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtensionResponse # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtensionResponse = D1 (MetaData "StartSchemaExtensionResponse" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.6.0-KB9g0KnLv74HaSgv3fSxM9" False) (C1 (MetaCons "StartSchemaExtensionResponse'" PrefixI True) (S1 (MetaSel (Just "_ssersSchemaExtensionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ssersSchemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text) #

The identifier of the schema extension that will be applied.