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

Contents

Description

Applies a schema extension to a Microsoft AD directory.

Synopsis

Creating a Request

startSchemaExtension Source #

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 Source #

See: startSchemaExtension smart constructor.

Instances

Eq StartSchemaExtension Source # 
Data StartSchemaExtension Source # 

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 Source # 
Show StartSchemaExtension Source # 
Generic StartSchemaExtension Source # 
Hashable StartSchemaExtension Source # 
ToJSON StartSchemaExtension Source # 
NFData StartSchemaExtension Source # 

Methods

rnf :: StartSchemaExtension -> () #

AWSRequest StartSchemaExtension Source # 
ToQuery StartSchemaExtension Source # 
ToPath StartSchemaExtension Source # 
ToHeaders StartSchemaExtension Source # 
type Rep StartSchemaExtension Source # 
type Rep StartSchemaExtension = D1 (MetaData "StartSchemaExtension" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "StartSchemaExtension'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sseDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sseCreateSnapshotBeforeSchemaExtension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_sseLdifContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sseDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs StartSchemaExtension Source # 

Request Lenses

sseDirectoryId :: Lens' StartSchemaExtension Text Source #

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

sseCreateSnapshotBeforeSchemaExtension :: Lens' StartSchemaExtension Bool Source #

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

sseLdifContent :: Lens' StartSchemaExtension Text Source #

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 Source #

A description of the schema extension.

Destructuring the Response

startSchemaExtensionResponse Source #

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 Source #

See: startSchemaExtensionResponse smart constructor.

Instances

Eq StartSchemaExtensionResponse Source # 
Data StartSchemaExtensionResponse Source # 

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 Source # 
Show StartSchemaExtensionResponse Source # 
Generic StartSchemaExtensionResponse Source # 
NFData StartSchemaExtensionResponse Source # 
type Rep StartSchemaExtensionResponse Source # 
type Rep StartSchemaExtensionResponse = D1 (MetaData "StartSchemaExtensionResponse" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "StartSchemaExtensionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssersSchemaExtensionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ssersSchemaExtensionId :: Lens' StartSchemaExtensionResponse (Maybe Text) Source #

The identifier of the schema extension that will be applied.