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

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 #

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

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 # 
Generic CreateTrust # 

Associated Types

type Rep CreateTrust :: * -> * #

Hashable CreateTrust # 
ToJSON CreateTrust # 
NFData CreateTrust # 

Methods

rnf :: CreateTrust -> () #

AWSRequest CreateTrust # 
ToHeaders CreateTrust # 

Methods

toHeaders :: CreateTrust -> [Header] #

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

Request Lenses

ctConditionalForwarderIPAddrs :: Lens' CreateTrust [Text] #

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

ctTrustType :: Lens' CreateTrust (Maybe TrustType) #

The trust relationship type.

ctDirectoryId :: Lens' CreateTrust Text #

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

ctRemoteDomainName :: Lens' CreateTrust Text #

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

ctTrustPassword :: Lens' CreateTrust Text #

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 #

The direction of the trust relationship.

Destructuring the Response

createTrustResponse #

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 #

The result of a CreateTrust request.

See: createTrustResponse smart constructor.

Instances

Eq CreateTrustResponse # 
Data CreateTrustResponse # 

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 # 
Show CreateTrustResponse # 
Generic CreateTrustResponse # 
NFData CreateTrustResponse # 

Methods

rnf :: CreateTrustResponse -> () #

type Rep CreateTrustResponse # 
type Rep CreateTrustResponse = D1 * (MetaData "CreateTrustResponse" "Network.AWS.DirectoryService.CreateTrust" "amazonka-ds-1.6.0-GmQtRfGRD6LI91OTzfkXGW" 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) #

A unique identifier for the trust relationship that was created.

ctrsResponseStatus :: Lens' CreateTrustResponse Int #

  • - | The response status code.