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

Methods

rnf :: StartSchemaExtension -> () #

AWSRequest StartSchemaExtension # 
ToHeaders StartSchemaExtension # 
ToPath StartSchemaExtension # 
ToQuery StartSchemaExtension # 
type Rep StartSchemaExtension # 
type Rep StartSchemaExtension = D1 * (MetaData "StartSchemaExtension" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.6.0-GmQtRfGRD6LI91OTzfkXGW" 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 # 

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 # 
Data StartSchemaExtensionResponse # 

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 # 
Show StartSchemaExtensionResponse # 
Generic StartSchemaExtensionResponse # 
NFData StartSchemaExtensionResponse # 
type Rep StartSchemaExtensionResponse # 
type Rep StartSchemaExtensionResponse = D1 * (MetaData "StartSchemaExtensionResponse" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.6.0-GmQtRfGRD6LI91OTzfkXGW" 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) #

The identifier of the schema extension that will be applied.