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.Types.Endpoint

Description

 
Synopsis

Documentation

data Endpoint Source #

This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:

  • CreateDBInstance
  • DescribeDBInstances
  • DeleteDBInstance

For the data structure that represents Amazon Aurora DB cluster endpoints, see DBClusterEndpoint.

See: newEndpoint smart constructor.

Constructors

Endpoint' 

Fields

  • hostedZoneId :: Maybe Text

    Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

  • address :: Maybe Text

    Specifies the DNS address of the DB instance.

  • port :: Maybe Int

    Specifies the port that the database engine is listening on.

Instances

Instances details
Eq Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

Read Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

NFData Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

FromXML Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.RDS.Types.Endpoint

type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.RDS.Types.Endpoint" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newEndpoint :: Endpoint Source #

Create a value of Endpoint 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:hostedZoneId:Endpoint', endpoint_hostedZoneId - Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

$sel:address:Endpoint', endpoint_address - Specifies the DNS address of the DB instance.

$sel:port:Endpoint', endpoint_port - Specifies the port that the database engine is listening on.

endpoint_hostedZoneId :: Lens' Endpoint (Maybe Text) Source #

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

endpoint_address :: Lens' Endpoint (Maybe Text) Source #

Specifies the DNS address of the DB instance.

endpoint_port :: Lens' Endpoint (Maybe Int) Source #

Specifies the port that the database engine is listening on.