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

Description

 
Synopsis

Documentation

data ProxyConfiguration Source #

Provides the configuration information for a web proxy to connect to website hosts.

See: newProxyConfiguration smart constructor.

Constructors

ProxyConfiguration' 

Fields

  • credentials :: Maybe Text

    Your secret ARN, which you can create in Secrets Manager

    The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

  • host :: Text

    The name of the website host you want to connect to via a web proxy server.

    For example, the host name of https://a.example.com/page1.html is "a.example.com".

  • port :: Natural

    The port number of the website host you want to connect to via a web proxy server.

    For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

Instances

Instances details
FromJSON ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

ToJSON ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

Generic ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

Associated Types

type Rep ProxyConfiguration :: Type -> Type #

Read ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

Show ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

NFData ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

Methods

rnf :: ProxyConfiguration -> () #

Eq ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

Hashable ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

type Rep ProxyConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ProxyConfiguration

type Rep ProxyConfiguration = D1 ('MetaData "ProxyConfiguration" "Amazonka.Kendra.Types.ProxyConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ProxyConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "host") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newProxyConfiguration Source #

Create a value of ProxyConfiguration 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:credentials:ProxyConfiguration', proxyConfiguration_credentials - Your secret ARN, which you can create in Secrets Manager

The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

$sel:host:ProxyConfiguration', proxyConfiguration_host - The name of the website host you want to connect to via a web proxy server.

For example, the host name of https://a.example.com/page1.html is "a.example.com".

$sel:port:ProxyConfiguration', proxyConfiguration_port - The port number of the website host you want to connect to via a web proxy server.

For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

proxyConfiguration_credentials :: Lens' ProxyConfiguration (Maybe Text) Source #

Your secret ARN, which you can create in Secrets Manager

The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

proxyConfiguration_host :: Lens' ProxyConfiguration Text Source #

The name of the website host you want to connect to via a web proxy server.

For example, the host name of https://a.example.com/page1.html is "a.example.com".

proxyConfiguration_port :: Lens' ProxyConfiguration Natural Source #

The port number of the website host you want to connect to via a web proxy server.

For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.