amazonka-rds-2.0: Amazon Relational Database Service 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.RDS.Types.DBProxyEndpoint

Description

 
Synopsis

Documentation

data DBProxyEndpoint Source #

The data structure representing an endpoint associated with a DB proxy. RDS automatically creates one endpoint for each DB proxy. For Aurora DB clusters, you can associate additional endpoints with the same DB proxy. These endpoints can be read/write or read-only. They can also reside in different VPCs than the associated DB proxy.

This data type is used as a response element in the DescribeDBProxyEndpoints operation.

See: newDBProxyEndpoint smart constructor.

Constructors

DBProxyEndpoint' 

Fields

  • createdDate :: Maybe ISO8601

    The date and time when the DB proxy endpoint was first created.

  • dbProxyEndpointArn :: Maybe Text

    The Amazon Resource Name (ARN) for the DB proxy endpoint.

  • dbProxyEndpointName :: Maybe Text

    The name for the DB proxy endpoint. 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.

  • dbProxyName :: Maybe Text

    The identifier for the DB proxy that is associated with this DB proxy endpoint.

  • endpoint :: Maybe Text

    The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

  • isDefault :: Maybe Bool

    A value that indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only.

  • status :: Maybe DBProxyEndpointStatus

    The current status of this DB proxy endpoint. A status of available means the endpoint is ready to handle requests. Other values indicate that you must wait for the endpoint to be ready, or take some action to resolve an issue.

  • targetRole :: Maybe DBProxyEndpointTargetRole

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

  • vpcId :: Maybe Text

    Provides the VPC ID of the DB proxy endpoint.

  • vpcSecurityGroupIds :: Maybe [Text]

    Provides a list of VPC security groups that the DB proxy endpoint belongs to.

  • vpcSubnetIds :: Maybe [Text]

    The EC2 subnet IDs for the DB proxy endpoint.

Instances

Instances details
FromXML DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

Generic DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

Associated Types

type Rep DBProxyEndpoint :: Type -> Type #

Read DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

Show DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

NFData DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

Methods

rnf :: DBProxyEndpoint -> () #

Eq DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

Hashable DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

type Rep DBProxyEndpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.DBProxyEndpoint

type Rep DBProxyEndpoint = D1 ('MetaData "DBProxyEndpoint" "Amazonka.RDS.Types.DBProxyEndpoint" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DBProxyEndpoint'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "dbProxyEndpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dbProxyEndpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbProxyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "isDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBProxyEndpointStatus)) :*: S1 ('MetaSel ('Just "targetRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBProxyEndpointTargetRole)))) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vpcSecurityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "vpcSubnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newDBProxyEndpoint :: DBProxyEndpoint Source #

Create a value of DBProxyEndpoint 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:createdDate:DBProxyEndpoint', dbProxyEndpoint_createdDate - The date and time when the DB proxy endpoint was first created.

$sel:dbProxyEndpointArn:DBProxyEndpoint', dbProxyEndpoint_dbProxyEndpointArn - The Amazon Resource Name (ARN) for the DB proxy endpoint.

$sel:dbProxyEndpointName:DBProxyEndpoint', dbProxyEndpoint_dbProxyEndpointName - The name for the DB proxy endpoint. 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:dbProxyName:DBProxyEndpoint', dbProxyEndpoint_dbProxyName - The identifier for the DB proxy that is associated with this DB proxy endpoint.

$sel:endpoint:DBProxyEndpoint', dbProxyEndpoint_endpoint - The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

$sel:isDefault:DBProxyEndpoint', dbProxyEndpoint_isDefault - A value that indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only.

$sel:status:DBProxyEndpoint', dbProxyEndpoint_status - The current status of this DB proxy endpoint. A status of available means the endpoint is ready to handle requests. Other values indicate that you must wait for the endpoint to be ready, or take some action to resolve an issue.

$sel:targetRole:DBProxyEndpoint', dbProxyEndpoint_targetRole - A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.

$sel:vpcId:DBProxyEndpoint', dbProxyEndpoint_vpcId - Provides the VPC ID of the DB proxy endpoint.

$sel:vpcSecurityGroupIds:DBProxyEndpoint', dbProxyEndpoint_vpcSecurityGroupIds - Provides a list of VPC security groups that the DB proxy endpoint belongs to.

$sel:vpcSubnetIds:DBProxyEndpoint', dbProxyEndpoint_vpcSubnetIds - The EC2 subnet IDs for the DB proxy endpoint.

dbProxyEndpoint_createdDate :: Lens' DBProxyEndpoint (Maybe UTCTime) Source #

The date and time when the DB proxy endpoint was first created.

dbProxyEndpoint_dbProxyEndpointArn :: Lens' DBProxyEndpoint (Maybe Text) Source #

The Amazon Resource Name (ARN) for the DB proxy endpoint.

dbProxyEndpoint_dbProxyEndpointName :: Lens' DBProxyEndpoint (Maybe Text) Source #

The name for the DB proxy endpoint. 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.

dbProxyEndpoint_dbProxyName :: Lens' DBProxyEndpoint (Maybe Text) Source #

The identifier for the DB proxy that is associated with this DB proxy endpoint.

dbProxyEndpoint_endpoint :: Lens' DBProxyEndpoint (Maybe Text) Source #

The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

dbProxyEndpoint_isDefault :: Lens' DBProxyEndpoint (Maybe Bool) Source #

A value that indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only.

dbProxyEndpoint_status :: Lens' DBProxyEndpoint (Maybe DBProxyEndpointStatus) Source #

The current status of this DB proxy endpoint. A status of available means the endpoint is ready to handle requests. Other values indicate that you must wait for the endpoint to be ready, or take some action to resolve an issue.

dbProxyEndpoint_targetRole :: Lens' DBProxyEndpoint (Maybe DBProxyEndpointTargetRole) Source #

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

dbProxyEndpoint_vpcId :: Lens' DBProxyEndpoint (Maybe Text) Source #

Provides the VPC ID of the DB proxy endpoint.

dbProxyEndpoint_vpcSecurityGroupIds :: Lens' DBProxyEndpoint (Maybe [Text]) Source #

Provides a list of VPC security groups that the DB proxy endpoint belongs to.

dbProxyEndpoint_vpcSubnetIds :: Lens' DBProxyEndpoint (Maybe [Text]) Source #

The EC2 subnet IDs for the DB proxy endpoint.