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.CreateTrust

Contents

Description

AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.

This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.

Synopsis

Creating a Request

createTrust Source #

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

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

  • ctConditionalForwarderIPAddrs - The IP addresses of the remote DNS server associated with RemoteDomainName.
  • ctTrustType - The trust relationship type.
  • ctDirectoryId - The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
  • ctRemoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
  • ctTrustPassword - The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
  • ctTrustDirection - The direction of the trust relationship.

data CreateTrust Source #

AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.

This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.

See: createTrust smart constructor.

Instances

Eq CreateTrust Source # 
Data CreateTrust Source # 

Methods

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

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

toConstr :: CreateTrust -> Constr #

dataTypeOf :: CreateTrust -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateTrust Source # 
Generic CreateTrust Source # 

Associated Types

type Rep CreateTrust :: * -> * #

Hashable CreateTrust Source # 
ToJSON CreateTrust Source # 
NFData CreateTrust Source # 

Methods

rnf :: CreateTrust -> () #

AWSRequest CreateTrust Source # 
ToQuery CreateTrust Source # 
ToPath CreateTrust Source # 
ToHeaders CreateTrust Source # 

Methods

toHeaders :: CreateTrust -> [Header] #

type Rep CreateTrust Source # 
type Rep CreateTrust = D1 (MetaData "CreateTrust" "Network.AWS.DirectoryService.CreateTrust" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "CreateTrust'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ctConditionalForwarderIPAddrs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_ctTrustType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TrustType))) (S1 (MetaSel (Just Symbol "_ctDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ctRemoteDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ctTrustPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text))) (S1 (MetaSel (Just Symbol "_ctTrustDirection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TrustDirection))))))
type Rs CreateTrust Source # 

Request Lenses

ctConditionalForwarderIPAddrs :: Lens' CreateTrust [Text] Source #

The IP addresses of the remote DNS server associated with RemoteDomainName.

ctTrustType :: Lens' CreateTrust (Maybe TrustType) Source #

The trust relationship type.

ctDirectoryId :: Lens' CreateTrust Text Source #

The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.

ctRemoteDomainName :: Lens' CreateTrust Text Source #

The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.

ctTrustPassword :: Lens' CreateTrust Text Source #

The trust password. The must be the same password that was used when creating the trust relationship on the external domain.

ctTrustDirection :: Lens' CreateTrust TrustDirection Source #

The direction of the trust relationship.

Destructuring the Response

createTrustResponse Source #

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

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

data CreateTrustResponse Source #

The result of a CreateTrust request.

See: createTrustResponse smart constructor.

Instances

Eq CreateTrustResponse Source # 
Data CreateTrustResponse Source # 

Methods

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

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

toConstr :: CreateTrustResponse -> Constr #

dataTypeOf :: CreateTrustResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTrustResponse Source # 
Show CreateTrustResponse Source # 
Generic CreateTrustResponse Source # 
NFData CreateTrustResponse Source # 

Methods

rnf :: CreateTrustResponse -> () #

type Rep CreateTrustResponse Source # 
type Rep CreateTrustResponse = D1 (MetaData "CreateTrustResponse" "Network.AWS.DirectoryService.CreateTrust" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "CreateTrustResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ctrsTrustId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ctrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ctrsTrustId :: Lens' CreateTrustResponse (Maybe Text) Source #

A unique identifier for the trust relationship that was created.

ctrsResponseStatus :: Lens' CreateTrustResponse Int Source #

  • - | The response status code.