amazonka-kendra-2.0: Amazon KendraFrontendService 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.Kendra.Types.OnPremiseConfiguration

Description

 
Synopsis

Documentation

data OnPremiseConfiguration Source #

Provides the configuration information to connect to GitHub Enterprise Server (on premises).

See: newOnPremiseConfiguration smart constructor.

Constructors

OnPremiseConfiguration' 

Fields

  • hostUrl :: Text

    The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/

  • organizationName :: Text

    The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting __Your organizations__ under your profile picture dropdown.

  • sslCertificateS3Path :: S3Path

    The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.

    You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.

Instances

Instances details
FromJSON OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

ToJSON OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

Generic OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

Associated Types

type Rep OnPremiseConfiguration :: Type -> Type #

Read OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

Show OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

NFData OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

Methods

rnf :: OnPremiseConfiguration -> () #

Eq OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

Hashable OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

type Rep OnPremiseConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.OnPremiseConfiguration

type Rep OnPremiseConfiguration = D1 ('MetaData "OnPremiseConfiguration" "Amazonka.Kendra.Types.OnPremiseConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "OnPremiseConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "organizationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sslCertificateS3Path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3Path))))

newOnPremiseConfiguration Source #

Create a value of OnPremiseConfiguration 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:hostUrl:OnPremiseConfiguration', onPremiseConfiguration_hostUrl - The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/

$sel:organizationName:OnPremiseConfiguration', onPremiseConfiguration_organizationName - The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting __Your organizations__ under your profile picture dropdown.

$sel:sslCertificateS3Path:OnPremiseConfiguration', onPremiseConfiguration_sslCertificateS3Path - The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.

You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.

onPremiseConfiguration_hostUrl :: Lens' OnPremiseConfiguration Text Source #

The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/

onPremiseConfiguration_organizationName :: Lens' OnPremiseConfiguration Text Source #

The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting __Your organizations__ under your profile picture dropdown.

onPremiseConfiguration_sslCertificateS3Path :: Lens' OnPremiseConfiguration S3Path Source #

The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.

You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.