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 |
Creates a DBProxyEndpoint
. Only applies to proxies that are associated
with Aurora DB clusters. You can use DB proxy endpoints to specify
read/write or read-only access to the DB cluster. You can also use DB
proxy endpoints to access a DB proxy through a different VPC than the
proxy's default VPC.
Synopsis
- data CreateDBProxyEndpoint = CreateDBProxyEndpoint' {}
- newCreateDBProxyEndpoint :: Text -> Text -> CreateDBProxyEndpoint
- createDBProxyEndpoint_targetRole :: Lens' CreateDBProxyEndpoint (Maybe DBProxyEndpointTargetRole)
- createDBProxyEndpoint_vpcSecurityGroupIds :: Lens' CreateDBProxyEndpoint (Maybe [Text])
- createDBProxyEndpoint_tags :: Lens' CreateDBProxyEndpoint (Maybe [Tag])
- createDBProxyEndpoint_dbProxyName :: Lens' CreateDBProxyEndpoint Text
- createDBProxyEndpoint_dbProxyEndpointName :: Lens' CreateDBProxyEndpoint Text
- createDBProxyEndpoint_vpcSubnetIds :: Lens' CreateDBProxyEndpoint [Text]
- data CreateDBProxyEndpointResponse = CreateDBProxyEndpointResponse' {}
- newCreateDBProxyEndpointResponse :: Int -> CreateDBProxyEndpointResponse
- createDBProxyEndpointResponse_dbProxyEndpoint :: Lens' CreateDBProxyEndpointResponse (Maybe DBProxyEndpoint)
- createDBProxyEndpointResponse_httpStatus :: Lens' CreateDBProxyEndpointResponse Int
Creating a Request
data CreateDBProxyEndpoint Source #
See: newCreateDBProxyEndpoint
smart constructor.
CreateDBProxyEndpoint' | |
|
Instances
newCreateDBProxyEndpoint Source #
:: Text | |
-> Text | |
-> CreateDBProxyEndpoint |
Create a value of CreateDBProxyEndpoint
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:targetRole:CreateDBProxyEndpoint'
, createDBProxyEndpoint_targetRole
- A value that indicates whether the DB proxy endpoint can be used for
read/write or read-only operations. The default is READ_WRITE
.
$sel:vpcSecurityGroupIds:CreateDBProxyEndpoint'
, createDBProxyEndpoint_vpcSecurityGroupIds
- The VPC security group IDs for the DB proxy endpoint that you create.
You can specify a different set of security group IDs than for the
original DB proxy. The default is the default security group for the
VPC.
$sel:tags:CreateDBProxyEndpoint'
, createDBProxyEndpoint_tags
- Undocumented member.
$sel:dbProxyName:CreateDBProxyEndpoint'
, createDBProxyEndpoint_dbProxyName
- The name of the DB proxy associated with the DB proxy endpoint that you
create.
$sel:dbProxyEndpointName:CreateDBProxyEndpoint'
, createDBProxyEndpoint_dbProxyEndpointName
- The name of the DB proxy endpoint to create.
$sel:vpcSubnetIds:CreateDBProxyEndpoint'
, createDBProxyEndpoint_vpcSubnetIds
- The VPC subnet IDs for the DB proxy endpoint that you create. You can
specify a different set of subnet IDs than for the original DB proxy.
Request Lenses
createDBProxyEndpoint_targetRole :: Lens' CreateDBProxyEndpoint (Maybe DBProxyEndpointTargetRole) Source #
A value that indicates whether the DB proxy endpoint can be used for
read/write or read-only operations. The default is READ_WRITE
.
createDBProxyEndpoint_vpcSecurityGroupIds :: Lens' CreateDBProxyEndpoint (Maybe [Text]) Source #
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
createDBProxyEndpoint_tags :: Lens' CreateDBProxyEndpoint (Maybe [Tag]) Source #
Undocumented member.
createDBProxyEndpoint_dbProxyName :: Lens' CreateDBProxyEndpoint Text Source #
The name of the DB proxy associated with the DB proxy endpoint that you create.
createDBProxyEndpoint_dbProxyEndpointName :: Lens' CreateDBProxyEndpoint Text Source #
The name of the DB proxy endpoint to create.
createDBProxyEndpoint_vpcSubnetIds :: Lens' CreateDBProxyEndpoint [Text] Source #
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
Destructuring the Response
data CreateDBProxyEndpointResponse Source #
See: newCreateDBProxyEndpointResponse
smart constructor.
CreateDBProxyEndpointResponse' | |
|
Instances
newCreateDBProxyEndpointResponse Source #
Create a value of CreateDBProxyEndpointResponse
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:dbProxyEndpoint:CreateDBProxyEndpointResponse'
, createDBProxyEndpointResponse_dbProxyEndpoint
- The DBProxyEndpoint
object that is created by the API operation. The
DB proxy endpoint that you create might provide capabilities such as
read/write or read-only operations, or using a different VPC than the
proxy's default VPC.
$sel:httpStatus:CreateDBProxyEndpointResponse'
, createDBProxyEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
createDBProxyEndpointResponse_dbProxyEndpoint :: Lens' CreateDBProxyEndpointResponse (Maybe DBProxyEndpoint) Source #
The DBProxyEndpoint
object that is created by the API operation. The
DB proxy endpoint that you create might provide capabilities such as
read/write or read-only operations, or using a different VPC than the
proxy's default VPC.
createDBProxyEndpointResponse_httpStatus :: Lens' CreateDBProxyEndpointResponse Int Source #
The response's http status code.