libZSservicesZSamazonka-dsZSamazonka-ds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DirectoryService.CreateTrust

Description

Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed 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 Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.

Synopsis

Creating a Request

data CreateTrust Source #

Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed 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 Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain.

See: newCreateTrust smart constructor.

Constructors

CreateTrust' 

Fields

Instances

Instances details
Eq CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Show CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Generic CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Associated Types

type Rep CreateTrust :: Type -> Type #

NFData CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Methods

rnf :: CreateTrust -> () #

Hashable CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

ToJSON CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

AWSRequest CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Associated Types

type AWSResponse CreateTrust #

ToHeaders CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Methods

toHeaders :: CreateTrust -> [Header] #

ToPath CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

ToQuery CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

type Rep CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

type Rep CreateTrust = D1 ('MetaData "CreateTrust" "Amazonka.DirectoryService.CreateTrust" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateTrust'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "conditionalForwarderIpAddrs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "trustType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustType)) :*: S1 ('MetaSel ('Just "selectiveAuth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectiveAuth)))) :*: ((S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "remoteDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "trustPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "trustDirection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrustDirection)))))
type AWSResponse CreateTrust Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

newCreateTrust Source #

Create a value of CreateTrust with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:conditionalForwarderIpAddrs:CreateTrust', createTrust_conditionalForwarderIpAddrs - The IP addresses of the remote DNS server associated with RemoteDomainName.

$sel:trustType:CreateTrust', createTrust_trustType - The trust relationship type. Forest is the default.

$sel:selectiveAuth:CreateTrust', createTrust_selectiveAuth - Optional parameter to enable selective authentication for the trust.

$sel:directoryId:CreateTrust', createTrust_directoryId - The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.

$sel:remoteDomainName:CreateTrust', createTrust_remoteDomainName - The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.

$sel:trustPassword:CreateTrust', createTrust_trustPassword - The trust password. The must be the same password that was used when creating the trust relationship on the external domain.

$sel:trustDirection:CreateTrust', createTrust_trustDirection - The direction of the trust relationship.

Request Lenses

createTrust_conditionalForwarderIpAddrs :: Lens' CreateTrust (Maybe [Text]) Source #

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

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

The trust relationship type. Forest is the default.

createTrust_selectiveAuth :: Lens' CreateTrust (Maybe SelectiveAuth) Source #

Optional parameter to enable selective authentication for the trust.

createTrust_directoryId :: Lens' CreateTrust Text Source #

The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.

createTrust_remoteDomainName :: Lens' CreateTrust Text Source #

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

createTrust_trustPassword :: 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.

createTrust_trustDirection :: Lens' CreateTrust TrustDirection Source #

The direction of the trust relationship.

Destructuring the Response

data CreateTrustResponse Source #

The result of a CreateTrust request.

See: newCreateTrustResponse smart constructor.

Constructors

CreateTrustResponse' 

Fields

Instances

Instances details
Eq CreateTrustResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Read CreateTrustResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Show CreateTrustResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Generic CreateTrustResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Associated Types

type Rep CreateTrustResponse :: Type -> Type #

NFData CreateTrustResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

Methods

rnf :: CreateTrustResponse -> () #

type Rep CreateTrustResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateTrust

type Rep CreateTrustResponse = D1 ('MetaData "CreateTrustResponse" "Amazonka.DirectoryService.CreateTrust" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateTrustResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trustId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateTrustResponse Source #

Create a value of CreateTrustResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trustId:CreateTrustResponse', createTrustResponse_trustId - A unique identifier for the trust relationship that was created.

$sel:httpStatus:CreateTrustResponse', createTrustResponse_httpStatus - The response's http status code.

Response Lenses

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

A unique identifier for the trust relationship that was created.