Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Changes the settings for an existing DB proxy.
Synopsis
- data ModifyDBProxy = ModifyDBProxy' {
- debugLogging :: Maybe Bool
- securityGroups :: Maybe [Text]
- auth :: Maybe [UserAuthConfig]
- requireTLS :: Maybe Bool
- idleClientTimeout :: Maybe Int
- newDBProxyName' :: Maybe Text
- roleArn :: Maybe Text
- dbProxyName :: Text
- newModifyDBProxy :: Text -> ModifyDBProxy
- modifyDBProxy_debugLogging :: Lens' ModifyDBProxy (Maybe Bool)
- modifyDBProxy_securityGroups :: Lens' ModifyDBProxy (Maybe [Text])
- modifyDBProxy_auth :: Lens' ModifyDBProxy (Maybe [UserAuthConfig])
- modifyDBProxy_requireTLS :: Lens' ModifyDBProxy (Maybe Bool)
- modifyDBProxy_idleClientTimeout :: Lens' ModifyDBProxy (Maybe Int)
- modifyDBProxy_newDBProxyName :: Lens' ModifyDBProxy (Maybe Text)
- modifyDBProxy_roleArn :: Lens' ModifyDBProxy (Maybe Text)
- modifyDBProxy_dbProxyName :: Lens' ModifyDBProxy Text
- data ModifyDBProxyResponse = ModifyDBProxyResponse' {
- dbProxy :: Maybe DBProxy
- httpStatus :: Int
- newModifyDBProxyResponse :: Int -> ModifyDBProxyResponse
- modifyDBProxyResponse_dbProxy :: Lens' ModifyDBProxyResponse (Maybe DBProxy)
- modifyDBProxyResponse_httpStatus :: Lens' ModifyDBProxyResponse Int
Creating a Request
data ModifyDBProxy Source #
See: newModifyDBProxy
smart constructor.
ModifyDBProxy' | |
|
Instances
Create a value of ModifyDBProxy
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:debugLogging:ModifyDBProxy'
, modifyDBProxy_debugLogging
- Whether the proxy includes detailed information about SQL statements in
its logs. This information helps you to debug issues involving SQL
behavior or the performance and scalability of the proxy connections.
The debug information includes the text of SQL statements that you
submit through the proxy. Thus, only enable this setting when needed for
debugging, and only when you have security measures in place to
safeguard any sensitive information that appears in the logs.
$sel:securityGroups:ModifyDBProxy'
, modifyDBProxy_securityGroups
- The new list of security groups for the DBProxy
.
$sel:auth:ModifyDBProxy'
, modifyDBProxy_auth
- The new authentication settings for the DBProxy
.
$sel:requireTLS:ModifyDBProxy'
, modifyDBProxy_requireTLS
- Whether Transport Layer Security (TLS) encryption is required for
connections to the proxy. By enabling this setting, you can enforce
encrypted TLS connections to the proxy, even if the associated database
doesn't use TLS.
$sel:idleClientTimeout:ModifyDBProxy'
, modifyDBProxy_idleClientTimeout
- The number of seconds that a connection to the proxy can be inactive
before the proxy disconnects it. You can set this value higher or lower
than the connection timeout limit for the associated database.
$sel:newDBProxyName':ModifyDBProxy'
, modifyDBProxy_newDBProxyName
- The new identifier for the DBProxy
. An identifier must begin with a
letter and must contain only ASCII letters, digits, and hyphens; it
can't end with a hyphen or contain two consecutive hyphens.
$sel:roleArn:ModifyDBProxy'
, modifyDBProxy_roleArn
- The Amazon Resource Name (ARN) of the IAM role that the proxy uses to
access secrets in Amazon Web Services Secrets Manager.
$sel:dbProxyName:ModifyDBProxy'
, modifyDBProxy_dbProxyName
- The identifier for the DBProxy
to modify.
Request Lenses
modifyDBProxy_debugLogging :: Lens' ModifyDBProxy (Maybe Bool) Source #
Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
modifyDBProxy_securityGroups :: Lens' ModifyDBProxy (Maybe [Text]) Source #
The new list of security groups for the DBProxy
.
modifyDBProxy_auth :: Lens' ModifyDBProxy (Maybe [UserAuthConfig]) Source #
The new authentication settings for the DBProxy
.
modifyDBProxy_requireTLS :: Lens' ModifyDBProxy (Maybe Bool) Source #
Whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy, even if the associated database doesn't use TLS.
modifyDBProxy_idleClientTimeout :: Lens' ModifyDBProxy (Maybe Int) Source #
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
modifyDBProxy_newDBProxyName :: Lens' ModifyDBProxy (Maybe Text) Source #
The new identifier for the DBProxy
. An identifier must begin with a
letter and must contain only ASCII letters, digits, and hyphens; it
can't end with a hyphen or contain two consecutive hyphens.
modifyDBProxy_roleArn :: Lens' ModifyDBProxy (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
modifyDBProxy_dbProxyName :: Lens' ModifyDBProxy Text Source #
The identifier for the DBProxy
to modify.
Destructuring the Response
data ModifyDBProxyResponse Source #
See: newModifyDBProxyResponse
smart constructor.
ModifyDBProxyResponse' | |
|
Instances
newModifyDBProxyResponse Source #
Create a value of ModifyDBProxyResponse
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:dbProxy:ModifyDBProxyResponse'
, modifyDBProxyResponse_dbProxy
- The DBProxy
object representing the new settings for the proxy.
$sel:httpStatus:ModifyDBProxyResponse'
, modifyDBProxyResponse_httpStatus
- The response's http status code.
Response Lenses
modifyDBProxyResponse_dbProxy :: Lens' ModifyDBProxyResponse (Maybe DBProxy) Source #
The DBProxy
object representing the new settings for the proxy.
modifyDBProxyResponse_httpStatus :: Lens' ModifyDBProxyResponse Int Source #
The response's http status code.