libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.CreateDBProxyEndpoint

Description

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

Creating a Request

data CreateDBProxyEndpoint Source #

See: newCreateDBProxyEndpoint smart constructor.

Constructors

CreateDBProxyEndpoint' 

Fields

  • targetRole :: Maybe DBProxyEndpointTargetRole

    A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is READ_WRITE.

  • vpcSecurityGroupIds :: Maybe [Text]

    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.

  • tags :: Maybe [Tag]
     
  • dbProxyName :: Text

    The name of the DB proxy associated with the DB proxy endpoint that you create.

  • dbProxyEndpointName :: Text

    The name of the DB proxy endpoint to create.

  • vpcSubnetIds :: [Text]

    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.

Instances

Instances details
Eq CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Read CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Show CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Generic CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Associated Types

type Rep CreateDBProxyEndpoint :: Type -> Type #

NFData CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Methods

rnf :: CreateDBProxyEndpoint -> () #

Hashable CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

AWSRequest CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Associated Types

type AWSResponse CreateDBProxyEndpoint #

ToHeaders CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

ToPath CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

ToQuery CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

type Rep CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

type Rep CreateDBProxyEndpoint = D1 ('MetaData "CreateDBProxyEndpoint" "Amazonka.RDS.CreateDBProxyEndpoint" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateDBProxyEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBProxyEndpointTargetRole)) :*: (S1 ('MetaSel ('Just "vpcSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: (S1 ('MetaSel ('Just "dbProxyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dbProxyEndpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpcSubnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))
type AWSResponse CreateDBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

newCreateDBProxyEndpoint Source #

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

Constructors

CreateDBProxyEndpointResponse' 

Fields

  • dbProxyEndpoint :: Maybe 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateDBProxyEndpointResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Read CreateDBProxyEndpointResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Show CreateDBProxyEndpointResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Generic CreateDBProxyEndpointResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

Associated Types

type Rep CreateDBProxyEndpointResponse :: Type -> Type #

NFData CreateDBProxyEndpointResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

type Rep CreateDBProxyEndpointResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBProxyEndpoint

type Rep CreateDBProxyEndpointResponse = D1 ('MetaData "CreateDBProxyEndpointResponse" "Amazonka.RDS.CreateDBProxyEndpoint" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateDBProxyEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbProxyEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBProxyEndpoint)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.