amazonka-ds-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Data StartSchemaExtension Source # 
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 Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Show StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Generic StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Associated Types

type Rep StartSchemaExtension :: Type -> Type #

Hashable StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

ToJSON StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

AWSRequest StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Associated Types

type Rs StartSchemaExtension :: Type #

ToHeaders StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

ToPath StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

ToQuery StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

NFData StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Methods

rnf :: StartSchemaExtension -> () #

type Rep StartSchemaExtension Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtension = D1 (MetaData "StartSchemaExtension" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" 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 Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

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

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Data StartSchemaExtensionResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Show StartSchemaExtensionResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Generic StartSchemaExtensionResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

Associated Types

type Rep StartSchemaExtensionResponse :: Type -> Type #

NFData StartSchemaExtensionResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtensionResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.StartSchemaExtension

type Rep StartSchemaExtensionResponse = D1 (MetaData "StartSchemaExtensionResponse" "Network.AWS.DirectoryService.StartSchemaExtension" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" 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) Source #

The identifier of the schema extension that will be applied.