amazonka-ds-2.0: Amazon Directory Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

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

  • directoryId :: Text

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

Instances

Instances details
ToJSON EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.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

AWSRequest EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Associated Types

type AWSResponse EnableSso #

Generic EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Associated Types

type Rep EnableSso :: Type -> Type #

Show EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

NFData EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Methods

rnf :: EnableSso -> () #

Eq EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Hashable EnableSso Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

type AWSResponse 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" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "EnableSso'" 'PrefixI 'True) (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newEnableSso Source #

Arguments

:: Text

EnableSso

-> EnableSso 

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

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

Request Lenses

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_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_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
Generic EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Associated Types

type Rep EnableSsoResponse :: Type -> Type #

Read EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Show EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

NFData EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

Methods

rnf :: EnableSsoResponse -> () #

Eq EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

type Rep EnableSsoResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.EnableSso

type Rep EnableSsoResponse = D1 ('MetaData "EnableSsoResponse" "Amazonka.DirectoryService.EnableSso" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" '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.