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

Description

Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.

Synopsis

Creating a Request

data EnableSso Source #

Contains the inputs for the EnableSso operation.

See: newEnableSso smart constructor.

Constructors

EnableSso' 

Fields

  • userName :: Maybe Text

    The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.

    If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.

  • password :: Maybe (Sensitive Text)

    The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.

  • directoryId :: Text

    The identifier of the directory for which to enable single-sign on.

Instances

Instances details
Eq EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Show EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Generic EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Associated Types

type Rep EnableSso :: Type -> Type #

NFData EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Methods

rnf :: EnableSso -> () #

Hashable EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

ToJSON EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

AWSRequest EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Associated Types

type AWSResponse EnableSso #

ToHeaders EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Methods

toHeaders :: EnableSso -> [Header] #

ToPath EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

ToQuery EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

type Rep EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

type Rep EnableSso = D1 ('MetaData "EnableSso" "Amazonka.DirectoryService.EnableSso" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "EnableSso'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

newEnableSso Source #

Create a value of EnableSso 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:userName:EnableSso', enableSso_userName - The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.

If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.

$sel:password:EnableSso', enableSso_password - The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.

$sel:directoryId:EnableSso', enableSso_directoryId - The identifier of the directory for which to enable single-sign on.

Request Lenses

enableSso_userName :: Lens' EnableSso (Maybe Text) Source #

The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name.

If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed.

enableSso_password :: Lens' EnableSso (Maybe Text) Source #

The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter.

enableSso_directoryId :: Lens' EnableSso Text Source #

The identifier of the directory for which to enable single-sign on.

Destructuring the Response

data EnableSsoResponse Source #

Contains the results of the EnableSso operation.

See: newEnableSsoResponse smart constructor.

Constructors

EnableSsoResponse' 

Fields

Instances

Instances details
Eq EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Read EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Show EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Generic EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Associated Types

type Rep EnableSsoResponse :: Type -> Type #

NFData EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Methods

rnf :: EnableSsoResponse -> () #

type Rep EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

type Rep EnableSsoResponse = D1 ('MetaData "EnableSsoResponse" "Amazonka.DirectoryService.EnableSso" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "EnableSsoResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newEnableSsoResponse Source #

Create a value of EnableSsoResponse 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:httpStatus:EnableSsoResponse', enableSsoResponse_httpStatus - The response's http status code.

Response Lenses

enableSsoResponse_httpStatus :: Lens' EnableSsoResponse Int Source #

The response's http status code.