Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BasicAuthenticationConfiguration = BasicAuthenticationConfiguration' {}
- newBasicAuthenticationConfiguration :: Text -> Natural -> Text -> BasicAuthenticationConfiguration
- basicAuthenticationConfiguration_host :: Lens' BasicAuthenticationConfiguration Text
- basicAuthenticationConfiguration_port :: Lens' BasicAuthenticationConfiguration Natural
- basicAuthenticationConfiguration_credentials :: Lens' BasicAuthenticationConfiguration Text
Documentation
data BasicAuthenticationConfiguration Source #
Provides the configuration information to connect to websites that require basic user authentication.
See: newBasicAuthenticationConfiguration
smart constructor.
BasicAuthenticationConfiguration' | |
|
Instances
newBasicAuthenticationConfiguration Source #
:: Text | |
-> Natural | |
-> Text | |
-> BasicAuthenticationConfiguration |
Create a value of BasicAuthenticationConfiguration
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:host:BasicAuthenticationConfiguration'
, basicAuthenticationConfiguration_host
- The name of the website host you want to connect to using authentication
credentials.
For example, the host name of https://a.example.com/page1.html is "a.example.com".
$sel:port:BasicAuthenticationConfiguration'
, basicAuthenticationConfiguration_port
- The port number of the website host you want to connect to using
authentication credentials.
For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.
$sel:credentials:BasicAuthenticationConfiguration'
, basicAuthenticationConfiguration_credentials
- Your secret ARN, which you can create in
Secrets Manager
You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.
basicAuthenticationConfiguration_host :: Lens' BasicAuthenticationConfiguration Text Source #
The name of the website host you want to connect to using authentication credentials.
For example, the host name of https://a.example.com/page1.html is "a.example.com".
basicAuthenticationConfiguration_port :: Lens' BasicAuthenticationConfiguration Natural Source #
The port number of the website host you want to connect to using authentication credentials.
For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.
basicAuthenticationConfiguration_credentials :: Lens' BasicAuthenticationConfiguration Text Source #
Your secret ARN, which you can create in Secrets Manager
You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.