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 |
Synopsis
- data Endpoint = Endpoint' {
- address :: Maybe Text
- vpcEndpoints :: Maybe [VpcEndpoint]
- port :: Maybe Int
- newEndpoint :: Endpoint
- endpoint_address :: Lens' Endpoint (Maybe Text)
- endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint])
- endpoint_port :: Lens' Endpoint (Maybe Int)
Documentation
Describes a connection endpoint.
See: newEndpoint
smart constructor.
Endpoint' | |
|
Instances
Eq Endpoint Source # | |
Read Endpoint Source # | |
Show Endpoint Source # | |
Generic Endpoint Source # | |
NFData Endpoint Source # | |
Defined in Amazonka.Redshift.Types.Endpoint | |
Hashable Endpoint Source # | |
Defined in Amazonka.Redshift.Types.Endpoint | |
FromXML Endpoint Source # | |
type Rep Endpoint Source # | |
Defined in Amazonka.Redshift.Types.Endpoint type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.Redshift.Types.Endpoint" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vpcEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VpcEndpoint])) :*: 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:address:Endpoint'
, endpoint_address
- The DNS address of the Cluster.
$sel:vpcEndpoints:Endpoint'
, endpoint_vpcEndpoints
- Describes a connection endpoint.
$sel:port:Endpoint'
, endpoint_port
- The port that the database engine is listening on.
endpoint_vpcEndpoints :: Lens' Endpoint (Maybe [VpcEndpoint]) Source #
Describes a connection endpoint.